crm_long_options 34 lib/common/options.c static const pcmk__cli_option_t *crm_long_options = NULL; crm_long_options 137 lib/common/options.c crm_long_options = long_options; crm_long_options 153 lib/common/options.c if (long_opts == NULL && crm_long_options) { crm_long_options 154 lib/common/options.c long_opts = create_long_opts(crm_long_options); crm_long_options 218 lib/common/options.c if (crm_long_options) { crm_long_options 220 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { crm_long_options 221 lib/common/options.c if (crm_long_options[i].flags & pcmk__option_hidden) { crm_long_options 223 lib/common/options.c } else if (crm_long_options[i].flags & pcmk__option_paragraph) { crm_long_options 224 lib/common/options.c fprintf(stream, "%s\n\n", crm_long_options[i].desc); crm_long_options 226 lib/common/options.c } else if (crm_long_options[i].flags & pcmk__option_example) { crm_long_options 227 lib/common/options.c fprintf(stream, "\t#%s\n\n", crm_long_options[i].desc); crm_long_options 229 lib/common/options.c } else if (crm_long_options[i].val == '-' && crm_long_options[i].desc) { crm_long_options 230 lib/common/options.c fprintf(stream, "%s\n", crm_long_options[i].desc); crm_long_options 234 lib/common/options.c if (crm_long_options[i].val && crm_long_options[i].val <= UCHAR_MAX) { crm_long_options 235 lib/common/options.c fprintf(stream, " -%c,", crm_long_options[i].val); crm_long_options 239 lib/common/options.c fprintf(stream, " --%s%s\t%s\n", crm_long_options[i].name, crm_long_options 240 lib/common/options.c crm_long_options[i].has_arg == optional_argument ? "[=value]" : crm_long_options 241 lib/common/options.c crm_long_options[i].has_arg == required_argument ? "=value" : "", crm_long_options 242 lib/common/options.c crm_long_options[i].desc ? crm_long_options[i].desc : "");