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 return pcmk_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 59 daemons/fenced/cts-fence-helper.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 446 daemons/fenced/pacemaker-fenced.c stand_alone_cpg_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 94 daemons/pacemakerd/pacemakerd.c pid_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 99 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 233 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, PCMK_XE_NODES, "forever", NULL)) { optarg 90 tools/attrd_updater.c } else if (pcmk__str_any_of(optarg, PCMK_XE_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 160 tools/cibadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 198 tools/cibadmin.c pcmk__str_update(&options.validate_with, optarg); optarg 216 tools/cibadmin.c show_access_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 219 tools/cibadmin.c if (pcmk__str_eq(optarg, "auto", pcmk__str_null_matches)) { optarg 222 tools/cibadmin.c } else if (g_strcmp0(optarg, "namespace") == 0) { optarg 225 tools/cibadmin.c } else if (g_strcmp0(optarg, "text") == 0) { optarg 228 tools/cibadmin.c } else if (g_strcmp0(optarg, "color") == 0) { optarg 234 tools/cibadmin.c optarg, option_name); optarg 241 tools/cibadmin.c section_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 255 tools/cibadmin.c pcmk__str_update(&options.cib_section, optarg); optarg 87 tools/crm_attribute.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 90 tools/crm_attribute.c pcmk__str_update(&options.opt_list, optarg); optarg 95 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 102 tools/crm_attribute.c attr_name_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 110 tools/crm_attribute.c options.attr_name = g_strdup(optarg); optarg 115 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 124 tools/crm_attribute.c score_name = pcmk_promotion_score_name(optarg); optarg 136 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 138 tools/crm_attribute.c pcmk__str_update(&options.attr_value, optarg); optarg 143 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 154 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 161 tools/crm_attribute.c wait_cb (const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 162 tools/crm_attribute.c if (pcmk__str_eq(optarg, "no", pcmk__str_none)) { optarg 165 tools/crm_attribute.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_LOCAL, pcmk__str_none)) { optarg 169 tools/crm_attribute.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_CLUSTER, pcmk__str_none)) { optarg 41 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 42 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 43 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 85 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 87 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); optarg 92 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 94 tools/crm_diff.c pcmk__str_update(&options.xml_file_1, optarg); optarg 99 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 101 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 pcmk_parse_interval_spec(optarg, &options.reconnect_ms); 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 116 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 117 tools/crm_resource.c gboolean cmdline_config_cb(const gchar *option_name, const gchar *optarg, optarg 119 tools/crm_resource.c gboolean option_cb(const gchar *option_name, const gchar *optarg, optarg 121 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 289 tools/crm_resource.c validate_opt_list(const gchar *optarg) optarg 291 tools/crm_resource.c if (pcmk__str_eq(optarg, PCMK_VALUE_FENCING, pcmk__str_none)) { optarg 294 tools/crm_resource.c } else if (pcmk__str_eq(optarg, PCMK__VALUE_PRIMITIVE, pcmk__str_none)) { optarg 319 tools/crm_resource.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 348 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 370 tools/crm_resource.c if (optarg != NULL) { optarg 371 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, optarg 374 tools/crm_resource.c _("Invalid check level setting: %s"), optarg); optarg 384 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 388 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 395 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 404 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 408 tools/crm_resource.c return validate_opt_list(optarg); optarg 416 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 429 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); optarg 448 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 452 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); optarg 790 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 802 tools/crm_resource.c cmdline_config_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 808 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); optarg 811 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); optarg 814 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); optarg 820 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 826 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { optarg 837 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 838 tools/crm_resource.c long long timeout_ms = crm_get_msec(optarg); optarg 842 tools/crm_resource.c crm_warn("Ignoring invalid timeout '%s'", optarg); 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 1050 tools/crm_shadow.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 1092 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 74 tools/crm_ticket.c attr_value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 75 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); optarg 91 tools/crm_ticket.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 110 tools/crm_ticket.c delete_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 111 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); optarg 117 tools/crm_ticket.c get_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 118 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); optarg 124 tools/crm_ticket.c grant_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 143 tools/crm_ticket.c set_attr_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 144 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 return pcmk_parse_interval_spec(optarg, &options.timeout) == pcmk_rc_ok; optarg 123 tools/crmadmin.c pcmk__str_update(&options.optarg, optarg); optarg 230 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, optarg 239 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 76 tools/stonith_admin.c gboolean add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 77 tools/stonith_admin.c gboolean add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 78 tools/stonith_admin.c gboolean add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 79 tools/stonith_admin.c gboolean add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 80 tools/stonith_admin.c gboolean set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 242 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 243 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); optarg 248 tools/stonith_admin.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid option: -e %s", optarg); optarg 251 tools/stonith_admin.c crm_info("Got: '%s'='%s'", optarg, env); optarg 252 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); optarg 260 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 261 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); optarg 266 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_ms = crm_get_msec(optarg); optarg 271 tools/stonith_admin.c crm_warn("Ignoring invalid tolerance '%s'", optarg); optarg 280 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 286 tools/stonith_admin.c crm_info("Scanning: -o %s", optarg); optarg 288 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); optarg 292 tools/stonith_admin.c g_set_error(error, PCMK__RC_ERROR, rc, "Invalid option: -o %s: %s", optarg, pcmk_rc_str(rc)); optarg 305 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 307 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg);