optarg 151 daemons/based/pacemaker-based.c cib_root = optarg; optarg 542 daemons/execd/cts-exec-helper.c options.listen = optarg; optarg 557 daemons/execd/cts-exec-helper.c options.api_call = optarg; optarg 560 daemons/execd/cts-exec-helper.c options.action = optarg; optarg 563 daemons/execd/cts-exec-helper.c options.rsc_id = optarg; optarg 566 daemons/execd/cts-exec-helper.c if(optarg) { optarg 567 daemons/execd/cts-exec-helper.c options.cancel_call_id = atoi(optarg); optarg 571 daemons/execd/cts-exec-helper.c options.provider = optarg; optarg 574 daemons/execd/cts-exec-helper.c options.class = optarg; optarg 577 daemons/execd/cts-exec-helper.c options.type = optarg; optarg 580 daemons/execd/cts-exec-helper.c if(optarg) { optarg 581 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); optarg 585 daemons/execd/cts-exec-helper.c if(optarg) { optarg 586 daemons/execd/cts-exec-helper.c options.timeout = atoi(optarg); optarg 590 daemons/execd/cts-exec-helper.c if(optarg) { optarg 591 daemons/execd/cts-exec-helper.c options.start_delay = atoi(optarg); optarg 595 daemons/execd/cts-exec-helper.c key = optarg; optarg 602 daemons/execd/cts-exec-helper.c val = optarg; optarg 444 daemons/execd/pacemaker-execd.c int rc = pcmk__add_logfile(optarg); optarg 451 daemons/execd/pacemaker-execd.c optarg, pcmk_rc_str(rc)); optarg 456 daemons/execd/pacemaker-execd.c setenv("PCMK_remote_port", optarg, 1); optarg 1427 daemons/fenced/pacemaker-fenced.c int rc = pcmk__add_logfile(optarg); optarg 1434 daemons/fenced/pacemaker-fenced.c optarg, pcmk_rc_str(rc)); 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 58 tools/attrd_updater.c command_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 59 tools/attrd_updater.c pcmk__str_update(&options.attr_value, optarg); optarg 79 tools/attrd_updater.c private_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 460 tools/cibadmin.c message_timeout_ms = atoi(optarg); optarg 466 tools/cibadmin.c obj_type = optarg; optarg 483 tools/cibadmin.c if (optarg != NULL) { optarg 484 tools/cibadmin.c if (!strcmp(optarg, "auto")) { optarg 486 tools/cibadmin.c } else if (!strcmp(optarg, "namespace")) { optarg 488 tools/cibadmin.c } else if (!strcmp(optarg, "text")) { optarg 490 tools/cibadmin.c } else if (!strcmp(optarg, "color")) { optarg 494 tools/cibadmin.c optarg); optarg 513 tools/cibadmin.c cib_user = optarg; optarg 556 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 557 tools/cibadmin.c obj_type = optarg; optarg 560 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 561 tools/cibadmin.c admin_input_xml = optarg; optarg 565 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 566 tools/cibadmin.c admin_input_file = optarg; optarg 575 tools/cibadmin.c pcmk__str_update(&host, optarg); optarg 105 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 161 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { 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 317 tools/crm_mon.c user_include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 318 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 325 tools/crm_mon.c include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 326 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 333 tools/crm_mon.c as_cgi_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 341 tools/crm_mon.c as_html_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 342 tools/crm_mon.c pcmk__str_update(&args->output_dest, optarg); optarg 350 tools/crm_mon.c as_simple_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 358 tools/crm_mon.c as_xml_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 365 tools/crm_mon.c fence_history_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 366 tools/crm_mon.c if (optarg == NULL) { optarg 369 tools/crm_mon.c pcmk__scan_min_int(optarg, &interactive_fence_level, 0); optarg 400 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 406 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 411 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 417 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 423 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 429 tools/crm_mon.c print_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 435 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 441 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 442 tools/crm_mon.c int rc = crm_get_msec(optarg); optarg 445 tools/crm_mon.c g_set_error(err, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid value for -i: %s", optarg); optarg 448 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); optarg 455 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 460 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 461 tools/crm_mon.c if (optarg != NULL) { optarg 462 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); optarg 472 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 477 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 482 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 487 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 488 tools/crm_mon.c setenv("CIB_file", optarg, 1); optarg 41 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 42 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 43 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 95 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 115 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 117 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); optarg 122 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 123 tools/crm_node.c if (optarg == NULL) { optarg 131 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 647 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 652 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); optarg 654 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); optarg 661 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 672 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 673 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); optarg 680 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 696 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 704 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 711 tools/crm_resource.c get_agent_spec(const gchar *optarg) optarg 716 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 720 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 724 tools/crm_resource.c get_agent_spec(optarg); optarg 729 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 733 tools/crm_resource.c get_agent_spec(optarg); optarg 738 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 749 tools/crm_resource.c list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 753 tools/crm_resource.c get_agent_spec(optarg); optarg 758 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 762 tools/crm_resource.c get_agent_spec(optarg); optarg 767 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 773 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { optarg 784 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 792 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 823 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 830 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 836 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 854 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 861 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 867 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 870 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 876 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 877 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); optarg 882 tools/crm_resource.c validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 895 tools/crm_resource.c if (optarg != NULL) { optarg 896 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { optarg 898 tools/crm_resource.c "Invalid check level setting: %s", optarg); optarg 907 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 916 tools/crm_resource.c digests_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 930 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 938 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 52 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 82 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 301 tools/crm_shadow.c validation = optarg; optarg 308 tools/crm_shadow.c pcmk__str_update(&shadow, optarg); optarg 314 tools/crm_shadow.c pcmk__str_update(&shadow, optarg); optarg 68 tools/crm_simulate.c all_actions_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 74 tools/crm_simulate.c attrs_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 80 tools/crm_simulate.c failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 86 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 93 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 104 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 105 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); optarg 110 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 111 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); optarg 116 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 118 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); optarg 123 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 125 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); optarg 130 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 131 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); optarg 136 tools/crm_simulate.c pending_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 142 tools/crm_simulate.c process_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 148 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 149 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); optarg 154 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 156 tools/crm_simulate.c pcmk__str_update(&options.dot_file, optarg); optarg 161 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 163 tools/crm_simulate.c pcmk__str_update(&options.graph_file, optarg); optarg 168 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 174 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 180 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 181 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); optarg 186 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 187 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); optarg 192 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 193 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); optarg 198 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 199 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); optarg 204 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 210 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 211 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); optarg 216 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 217 tools/crm_simulate.c pcmk__str_update(&options.xml_file, optarg); optarg 223 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 66 tools/crm_ticket.c attr_value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 67 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); optarg 83 tools/crm_ticket.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 102 tools/crm_ticket.c delete_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 103 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); optarg 109 tools/crm_ticket.c get_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 110 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); optarg 116 tools/crm_ticket.c grant_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 135 tools/crm_ticket.c set_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 136 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, options.timeout); optarg 244 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT); optarg 150 tools/iso8601.c date_time_s = optarg; optarg 153 tools/iso8601.c period_s = optarg; optarg 156 tools/iso8601.c duration_s = optarg; optarg 159 tools/iso8601.c expected_s = optarg; 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);