common_args 65 include/crm/common/cmdline_internal.h pcmk__build_arg_context(pcmk__common_args_t *common_args, const char *fmts, common_args 22 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; common_args 23 lib/common/cmdline.c common_args->verbosity++; common_args 47 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; common_args 49 lib/common/cmdline.c free(common_args->summary); common_args 50 lib/common/cmdline.c free(common_args->output_ty); common_args 51 lib/common/cmdline.c free(common_args->output_dest); common_args 53 lib/common/cmdline.c if (common_args->output_as_descr != NULL) { common_args 54 lib/common/cmdline.c free(common_args->output_as_descr); common_args 57 lib/common/cmdline.c free(common_args); common_args 61 lib/common/cmdline.c pcmk__build_arg_context(pcmk__common_args_t *common_args, const char *fmts, common_args 68 lib/common/cmdline.c { "version", '$', 0, G_OPTION_ARG_NONE, &(common_args->version), common_args 78 lib/common/cmdline.c main_group = g_option_group_new(NULL, "Application Options:", NULL, common_args, free_common_args); common_args 82 lib/common/cmdline.c g_option_context_set_summary(context, common_args->summary); common_args 88 lib/common/cmdline.c { "output-as", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_ty), common_args 91 lib/common/cmdline.c { "output-to", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_dest), common_args 101 lib/common/cmdline.c common_args->output_as_descr = crm_strdup_printf("Specify output format as one of: %s", fmts); common_args 102 lib/common/cmdline.c output_entries[0].description = common_args->output_as_descr;