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 49 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; common_args 51 lib/common/cmdline.c free(common_args->summary); common_args 52 lib/common/cmdline.c free(common_args->output_ty); common_args 53 lib/common/cmdline.c free(common_args->output_dest); common_args 55 lib/common/cmdline.c if (common_args->output_as_descr != NULL) { common_args 56 lib/common/cmdline.c free(common_args->output_as_descr); common_args 59 lib/common/cmdline.c free(common_args); common_args 63 lib/common/cmdline.c pcmk__build_arg_context(pcmk__common_args_t *common_args, const char *fmts, common_args 70 lib/common/cmdline.c { "version", '$', 0, G_OPTION_ARG_NONE, &(common_args->version), common_args 80 lib/common/cmdline.c main_group = g_option_group_new(NULL, "Application Options:", NULL, common_args, free_common_args); common_args 84 lib/common/cmdline.c g_option_context_set_summary(context, common_args->summary); common_args 90 lib/common/cmdline.c { "output-as", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_ty), common_args 93 lib/common/cmdline.c { "output-to", 0, 0, G_OPTION_ARG_STRING, &(common_args->output_dest), common_args 103 lib/common/cmdline.c common_args->output_as_descr = crm_strdup_printf("Specify output format as one of: %s", fmts); common_args 104 lib/common/cmdline.c output_entries[0].description = common_args->output_as_descr;