crm_long_options 34 lib/common/options.c static pcmk__cli_option_t *crm_long_options = NULL; crm_long_options 136 lib/common/options.c crm_long_options = long_options; crm_long_options 152 lib/common/options.c if (long_opts == NULL && crm_long_options) { crm_long_options 153 lib/common/options.c long_opts = create_long_opts(crm_long_options); crm_long_options 214 lib/common/options.c if (crm_long_options) { crm_long_options 216 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { crm_long_options 217 lib/common/options.c if (crm_long_options[i].flags & pcmk__option_hidden) { crm_long_options 219 lib/common/options.c } else if (crm_long_options[i].flags & pcmk__option_paragraph) { crm_long_options 220 lib/common/options.c fprintf(stream, "%s\n\n", crm_long_options[i].desc); crm_long_options 222 lib/common/options.c } else if (crm_long_options[i].flags & pcmk__option_example) { crm_long_options 223 lib/common/options.c fprintf(stream, "\t#%s\n\n", crm_long_options[i].desc); crm_long_options 225 lib/common/options.c } else if (crm_long_options[i].val == '-' && crm_long_options[i].desc) { crm_long_options 226 lib/common/options.c fprintf(stream, "%s\n", crm_long_options[i].desc); crm_long_options 230 lib/common/options.c if (crm_long_options[i].val && crm_long_options[i].val <= UCHAR_MAX) { crm_long_options 231 lib/common/options.c fprintf(stream, " -%c,", crm_long_options[i].val); crm_long_options 235 lib/common/options.c fprintf(stream, " --%s%s\t%s\n", crm_long_options[i].name, crm_long_options 236 lib/common/options.c crm_long_options[i].has_arg == optional_argument ? "[=value]" : crm_long_options 237 lib/common/options.c crm_long_options[i].has_arg == required_argument ? "=value" : "", crm_long_options 238 lib/common/options.c crm_long_options[i].desc ? crm_long_options[i].desc : "");