1optionOnlyUsage(3) Programmer's Manual optionOnlyUsage(3)
2
3
4
6 optionOnlyUsage - Print usage text for just the options
7
8
10 #include <your-opts.h>
11 cc [...] -o outfile infile.c -lopts [...]
12
13 void optionOnlyUsage(tOptions* pOpts, int ex_code);
14
15
17 This routine will print only the usage for each option. This function
18 may be used when the emitted usage must incorporate information not
19 available to AutoOpts.
20
21 pOpts program options descriptor
22
23 ex_code
24 exit code for calling exit(3)
25
27 The info documentation for the -lopts library.
28 ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), option‐
29 FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
30 optionLoadLine(3), optionNextValue(3), optionProcess(3), optionRe‐
31 store(3), optionSaveFile(3), optionSaveState(3), optionUnloadNested(3),
32 optionVersion(3), pathfind(3), strequate(3), streqvcmp(3), stre‐
33 qvmap(3), strneqvcmp(3), strtransform(3),
34
35
36
37 2008-02-27 optionOnlyUsage(3)