common_args 65 include/crm/common/cmdline_internal.h pcmk__build_arg_context(pcmk__common_args_t *common_args, const char *fmts, common_args 28 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; common_args 29 lib/common/cmdline.c common_args->verbosity++; common_args 53 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; common_args 55 lib/common/cmdline.c free(common_args->summary); common_args 56 lib/common/cmdline.c free(common_args->output_ty); common_args 57 lib/common/cmdline.c free(common_args->output_dest); common_args 59 lib/common/cmdline.c if (common_args->output_as_descr != NULL) { common_args 60 lib/common/cmdline.c free(common_args->output_as_descr); common_args 63 lib/common/cmdline.c free(common_args); common_args 67 lib/common/cmdline.c pcmk__build_arg_context(pcmk__common_args_t *common_args, const char *fmts, common_args 74 lib/common/cmdline.c { "version", '$', 0, G_OPTION_ARG_NONE, &(common_args->version), common_args 84 lib/common/cmdline.c main_group = g_option_group_new(NULL, "Application Options:", NULL, common_args, free_common_args); common_args 88 lib/common/cmdline.c g_option_context_set_summary(context, common_args->summary); common_args 94 lib/common/cmdline.c { "output-as", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_ty), common_args 97 lib/common/cmdline.c { "output-to", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_dest), common_args 107 lib/common/cmdline.c common_args->output_as_descr = crm_strdup_printf("Specify output format as one of: %s", fmts); common_args 108 lib/common/cmdline.c output_entries[0].description = common_args->output_as_descr;