Lines Matching defs:opts
1302 const Options **opts;
1307 opts = dlg_calloc(const Options *, limit);
1308 assert_ptr(opts, "Help");
1310 opts[j] = &(options[j]);
1312 qsort(opts, limit, sizeof(Options *), compare_opts);
1317 if ((opts[j]->pass & 1)
1318 && opts[j]->help != 0) {
1319 size_t len = 6 + strlen(opts[j]->name) + strlen(opts[j]->help);
1325 fprintf(dialog_state.output, " [--%s%s%s]", opts[j]->name,
1326 *(opts[j]->help) ? " " : "", opts[j]->help);
1331 if ((opts[j]->pass & 2) != 0
1332 && opts[j]->help != 0
1333 && lookupMode(opts[j]->code))
1334 fprintf(dialog_state.output, " --%-12s %s\n", opts[j]->name,
1335 opts[j]->help);
1339 free(opts);