optarg 58 daemons/execd/cts-exec-helper.c interval_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 59 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); optarg 64 daemons/execd/cts-exec-helper.c notify_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 75 daemons/execd/cts-exec-helper.c param_key_val_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 77 daemons/execd/cts-exec-helper.c pcmk__str_update(&key, optarg); optarg 79 daemons/execd/cts-exec-helper.c pcmk__str_update(&val, optarg); optarg 60 daemons/fenced/cts-fence-helper.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 482 daemons/fenced/pacemaker-fenced.c stand_alone_cpg_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 88 daemons/pacemakerd/pacemakerd.c pid_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 93 daemons/pacemakerd/pacemakerd.c standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 42 devel/scratch.c xml_file = optarg; optarg 21 lib/common/cmdline.c bump_verbosity(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 234 lib/common/nvpair.c sep = strstr(optarg, "="); optarg 738 maint/gnulib/lib/argp-parse.c parser->opt_data.optarg); optarg 750 maint/gnulib/lib/argp-parse.c user_key, parser->opt_data.optarg); optarg 852 maint/gnulib/lib/argp-parse.c parser->opt_data.optarg = parser->state.argv[parser->state.next++]; optarg 858 maint/gnulib/lib/argp-parse.c err = parser_parse_arg (parser, parser->opt_data.optarg); optarg 860 maint/gnulib/lib/argp-parse.c err = parser_parse_opt (parser, opt, parser->opt_data.optarg); optarg 36 maint/gnulib/lib/getopt-core.h extern char *optarg; optarg 45 maint/gnulib/lib/getopt-pfx-core.h # define optarg __GETOPT_ID (optarg) optarg 89 maint/gnulib/lib/getopt.c char *optarg; optarg 340 maint/gnulib/lib/getopt.c d->optarg = nameend + 1; optarg 355 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optarg 480 maint/gnulib/lib/getopt.c d->optarg = NULL; optarg 561 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optarg 631 maint/gnulib/lib/getopt.c d->optarg = d->__nextchar; optarg 647 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind]; optarg 649 maint/gnulib/lib/getopt.c d->__nextchar = d->optarg; optarg 650 maint/gnulib/lib/getopt.c d->optarg = NULL; optarg 661 maint/gnulib/lib/getopt.c d->optarg = d->__nextchar; optarg 665 maint/gnulib/lib/getopt.c d->optarg = NULL; optarg 673 maint/gnulib/lib/getopt.c d->optarg = d->__nextchar; optarg 694 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optarg 717 maint/gnulib/lib/getopt.c optarg = getopt_data.optarg; optarg 789 maint/gnulib/lib/getopt.c printf ("option c with value '%s'\n", optarg); optarg 103 maint/gnulib/lib/getopt1.c if (optarg) optarg 104 maint/gnulib/lib/getopt1.c printf (" with arg %s", optarg); optarg 133 maint/gnulib/lib/getopt1.c printf ("option c with value '%s'\n", optarg); optarg 137 maint/gnulib/lib/getopt1.c printf ("option d with value '%s'\n", optarg); optarg 69 maint/gnulib/lib/getopt_int.h char *optarg; optarg 54 maint/gnulib/tests/test-getopt.h *p_value = optarg; optarg 57 maint/gnulib/tests/test-getopt.h *q_value = optarg; optarg 62 maint/gnulib/tests/test-getopt.h non_options[(*non_options_count)++] = optarg; optarg 66 maint/gnulib/tests/test-getopt_long.h *q_value = optarg; optarg 75 maint/gnulib/tests/test-getopt_long.h *p_value = optarg; optarg 78 maint/gnulib/tests/test-getopt_long.h *q_value = optarg; optarg 83 maint/gnulib/tests/test-getopt_long.h non_options[(*non_options_count)++] = optarg; optarg 282 maint/gnulib/tests/test-getopt_long.h ASSERT (optarg == NULL); optarg 287 maint/gnulib/tests/test-getopt_long.h ASSERT (strcmp (optarg, "unknown") == 0); optarg 308 maint/gnulib/tests/test-getopt_long.h ASSERT (optarg == NULL); optarg 313 maint/gnulib/tests/test-getopt_long.h ASSERT (strcmp (optarg, "unknown") == 0); optarg 2126 maint/gnulib/tests/test-getopt_long.h ASSERT (optarg == NULL); optarg 2142 maint/gnulib/tests/test-getopt_long.h ASSERT (strcmp (optarg, "tras") == 0); optarg 60 tools/attrd_updater.c command_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 61 tools/attrd_updater.c pcmk__str_update(&options.attr_value, optarg); optarg 81 tools/attrd_updater.c private_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 87 tools/attrd_updater.c section_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 88 tools/attrd_updater.c if (pcmk__str_any_of(optarg, "nodes", "forever", NULL)) { optarg 90 tools/attrd_updater.c } else if (pcmk__str_any_of(optarg, "status", "reboot", NULL)) { optarg 94 tools/attrd_updater.c optarg); optarg 102 tools/attrd_updater.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 111 tools/attrd_updater.c wait_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 112 tools/attrd_updater.c if (pcmk__str_eq(optarg, "no", pcmk__str_none)) { optarg 115 tools/attrd_updater.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_LOCAL, pcmk__str_none)) { optarg 119 tools/attrd_updater.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_CLUSTER, pcmk__str_none)) { optarg 157 tools/cibadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 195 tools/cibadmin.c pcmk__str_update(&options.validate_with, optarg); optarg 213 tools/cibadmin.c show_access_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 216 tools/cibadmin.c if (pcmk__str_eq(optarg, "auto", pcmk__str_null_matches)) { optarg 219 tools/cibadmin.c } else if (g_strcmp0(optarg, "namespace") == 0) { optarg 222 tools/cibadmin.c } else if (g_strcmp0(optarg, "text") == 0) { optarg 225 tools/cibadmin.c } else if (g_strcmp0(optarg, "color") == 0) { optarg 231 tools/cibadmin.c optarg, option_name); optarg 238 tools/cibadmin.c section_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 252 tools/cibadmin.c pcmk__str_update(&options.cib_section, optarg); optarg 110 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 117 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 126 tools/crm_attribute.c score_name = pcmk_promotion_score_name(optarg); optarg 138 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 140 tools/crm_attribute.c pcmk__str_update(&options.attr_value, optarg); optarg 145 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 156 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 163 tools/crm_attribute.c wait_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 164 tools/crm_attribute.c if (pcmk__str_eq(optarg, "no", pcmk__str_none)) { optarg 167 tools/crm_attribute.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_LOCAL, pcmk__str_none)) { optarg 171 tools/crm_attribute.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_CLUSTER, pcmk__str_none)) { optarg 42 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 43 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 44 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 86 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 88 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); optarg 93 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 95 tools/crm_diff.c pcmk__str_update(&options.xml_file_1, optarg); optarg 100 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 102 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); optarg 31 tools/crm_error.c result_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 415 tools/crm_mon.c user_include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 416 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 423 tools/crm_mon.c include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 424 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 431 tools/crm_mon.c as_cgi_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 439 tools/crm_mon.c as_html_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 440 tools/crm_mon.c pcmk__str_update(&args->output_dest, optarg); optarg 448 tools/crm_mon.c as_simple_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 456 tools/crm_mon.c as_xml_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 463 tools/crm_mon.c fence_history_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 464 tools/crm_mon.c if (optarg == NULL) { optarg 467 tools/crm_mon.c pcmk__scan_min_int(optarg, &interactive_fence_level, 0); optarg 501 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 507 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 512 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 518 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 525 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 531 tools/crm_mon.c print_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 537 tools/crm_mon.c print_description_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 543 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 549 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 550 tools/crm_mon.c int rc = crm_get_msec(optarg); optarg 553 tools/crm_mon.c g_set_error(err, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid value for -i: %s", optarg); optarg 556 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); optarg 577 tools/crm_mon.c one_shot_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 594 tools/crm_mon.c daemonize_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 602 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 607 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 608 tools/crm_mon.c if (optarg != NULL) { optarg 609 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); optarg 619 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 624 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 629 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 634 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 635 tools/crm_mon.c setenv("CIB_file", optarg, 1); optarg 44 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 45 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 46 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 107 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 127 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 129 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); optarg 134 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 135 tools/crm_node.c if (optarg == NULL) { optarg 142 tools/crm_node.c pcmk__str_update(&options.target_uname, optarg); optarg 143 tools/crm_resource.c gboolean agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 144 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 145 tools/crm_resource.c gboolean class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 146 tools/crm_resource.c gboolean cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 147 tools/crm_resource.c gboolean delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 148 tools/crm_resource.c gboolean expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 149 tools/crm_resource.c gboolean list_agents_cb(const gchar *option_name, const gchar *optarg, optarg 151 tools/crm_resource.c gboolean list_providers_cb(const gchar *option_name, const gchar *optarg, optarg 153 tools/crm_resource.c gboolean list_standards_cb(const gchar *option_name, const gchar *optarg, optarg 155 tools/crm_resource.c gboolean list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 157 tools/crm_resource.c gboolean metadata_cb(const gchar *option_name, const gchar *optarg, optarg 159 tools/crm_resource.c gboolean option_cb(const gchar *option_name, const gchar *optarg, optarg 161 tools/crm_resource.c gboolean fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 162 tools/crm_resource.c gboolean flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 163 tools/crm_resource.c gboolean get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 164 tools/crm_resource.c gboolean list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 165 tools/crm_resource.c gboolean set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 166 tools/crm_resource.c gboolean set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 167 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 168 tools/crm_resource.c gboolean validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 170 tools/crm_resource.c gboolean restart_cb(const gchar *option_name, const gchar *optarg, optarg 172 tools/crm_resource.c gboolean digests_cb(const gchar *option_name, const gchar *optarg, optarg 174 tools/crm_resource.c gboolean wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 175 tools/crm_resource.c gboolean why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 660 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 665 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); optarg 667 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); optarg 674 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 686 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 687 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); optarg 694 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 710 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 718 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 725 tools/crm_resource.c get_agent_spec(const gchar *optarg) optarg 730 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 734 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 738 tools/crm_resource.c get_agent_spec(optarg); optarg 743 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 747 tools/crm_resource.c get_agent_spec(optarg); optarg 752 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 763 tools/crm_resource.c list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 767 tools/crm_resource.c get_agent_spec(optarg); optarg 772 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 776 tools/crm_resource.c get_agent_spec(optarg); optarg 781 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 787 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { optarg 798 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 806 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 846 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 853 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 859 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 877 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 884 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 890 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 893 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 899 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 900 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); optarg 905 tools/crm_resource.c validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 918 tools/crm_resource.c if (optarg != NULL) { optarg 919 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { optarg 921 tools/crm_resource.c _("Invalid check level setting: %s"), optarg); optarg 930 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 939 tools/crm_resource.c digests_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 953 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 961 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 45 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 75 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 1038 tools/crm_shadow.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 1080 tools/crm_shadow.c pcmk__str_update(&options.instance, optarg); optarg 69 tools/crm_simulate.c all_actions_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 75 tools/crm_simulate.c attrs_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 81 tools/crm_simulate.c failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 87 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 94 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 105 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 106 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); optarg 111 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 112 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); optarg 117 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 119 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); optarg 124 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 126 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); optarg 131 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 132 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); optarg 137 tools/crm_simulate.c pending_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 143 tools/crm_simulate.c process_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 149 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 150 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); optarg 155 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 157 tools/crm_simulate.c pcmk__str_update(&options.dot_file, optarg); optarg 162 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 164 tools/crm_simulate.c pcmk__str_update(&options.graph_file, optarg); optarg 169 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 175 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 181 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 182 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); optarg 187 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 188 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); optarg 193 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 194 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); optarg 199 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 200 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); optarg 205 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 211 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 212 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); optarg 217 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 218 tools/crm_simulate.c pcmk__str_update(&options.xml_file, optarg); optarg 224 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 67 tools/crm_ticket.c attr_value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 68 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); optarg 84 tools/crm_ticket.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 103 tools/crm_ticket.c delete_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 104 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); optarg 110 tools/crm_ticket.c get_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 111 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); optarg 117 tools/crm_ticket.c grant_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 136 tools/crm_ticket.c set_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 137 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); optarg 37 tools/crmadmin.c char *optarg; optarg 41 tools/crmadmin.c .optarg = NULL, optarg 46 tools/crmadmin.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 100 tools/crmadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) optarg 104 tools/crmadmin.c crm_trace("Option %c => %s", 'S', optarg); optarg 120 tools/crmadmin.c options.timeout = crm_parse_interval_spec(optarg); optarg 127 tools/crmadmin.c pcmk__str_update(&options.optarg, optarg); optarg 238 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, optarg 247 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.bash_export); optarg 30 tools/iso8601.c date_now_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 34 tools/iso8601.c pcmk__str_update(&options.date_time_s, optarg); optarg 41 tools/iso8601.c modifier_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 77 tools/stonith_admin.c gboolean add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 78 tools/stonith_admin.c gboolean add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 79 tools/stonith_admin.c gboolean add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 80 tools/stonith_admin.c gboolean add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 81 tools/stonith_admin.c gboolean set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 243 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 244 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); optarg 249 tools/stonith_admin.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid option: -e %s", optarg); optarg 252 tools/stonith_admin.c crm_info("Got: '%s'='%s'", optarg, env); optarg 253 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); optarg 261 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); optarg 267 tools/stonith_admin.c add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 268 tools/stonith_admin.c options.tolerance = crm_get_msec(optarg) / 1000; optarg 273 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 279 tools/stonith_admin.c crm_info("Scanning: -o %s", optarg); optarg 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); optarg 285 tools/stonith_admin.c g_set_error(error, PCMK__RC_ERROR, rc, "Invalid option: -o %s: %s", optarg, pcmk_rc_str(rc)); optarg 298 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg);