optarg 151 daemons/based/pacemaker-based.c cib_root = optarg; 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 462 daemons/execd/pacemaker-execd.c int rc = pcmk__add_logfile(optarg); optarg 469 daemons/execd/pacemaker-execd.c optarg, pcmk_rc_str(rc)); optarg 474 daemons/execd/pacemaker-execd.c setenv("PCMK_remote_port", optarg, 1); optarg 60 daemons/fenced/cts-fence-helper.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 1614 daemons/fenced/pacemaker-fenced.c int rc = pcmk__add_logfile(optarg); optarg 1621 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 59 tools/attrd_updater.c command_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 60 tools/attrd_updater.c pcmk__str_update(&options.attr_value, optarg); optarg 80 tools/attrd_updater.c private_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 86 tools/attrd_updater.c section_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 87 tools/attrd_updater.c if (pcmk__str_any_of(optarg, "nodes", "forever", NULL)) { optarg 89 tools/attrd_updater.c } else if (pcmk__str_any_of(optarg, "status", "reboot", NULL)) { optarg 93 tools/attrd_updater.c optarg); 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 109 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 116 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 125 tools/crm_attribute.c score_name = pcmk_promotion_score_name(optarg); optarg 137 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 139 tools/crm_attribute.c pcmk__str_update(&options.attr_value, optarg); optarg 144 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 155 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 31 tools/crm_error.c result_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, 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 403 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 409 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 414 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 420 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 426 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 432 tools/crm_mon.c print_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 438 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 444 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 445 tools/crm_mon.c int rc = crm_get_msec(optarg); optarg 448 tools/crm_mon.c g_set_error(err, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid value for -i: %s", optarg); optarg 451 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); optarg 458 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 463 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 464 tools/crm_mon.c if (optarg != NULL) { optarg 465 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); optarg 475 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 480 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 485 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 490 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 491 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 654 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 659 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); optarg 661 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); optarg 668 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 679 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 680 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); optarg 687 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 703 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 711 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 718 tools/crm_resource.c get_agent_spec(const gchar *optarg) optarg 723 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 727 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 731 tools/crm_resource.c get_agent_spec(optarg); optarg 736 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 740 tools/crm_resource.c get_agent_spec(optarg); optarg 745 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 756 tools/crm_resource.c list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 760 tools/crm_resource.c get_agent_spec(optarg); optarg 765 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 769 tools/crm_resource.c get_agent_spec(optarg); optarg 774 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 780 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { optarg 791 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 799 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 833 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 840 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 846 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 864 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 871 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 877 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 880 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 886 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 887 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); optarg 892 tools/crm_resource.c validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 905 tools/crm_resource.c if (optarg != NULL) { optarg 906 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { optarg 908 tools/crm_resource.c "Invalid check level setting: %s", optarg); optarg 917 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 926 tools/crm_resource.c digests_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 940 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 948 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 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 245 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);