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), optionMemberList(3), optionNextValue(3), option‐
31 PrintVersion(3), optionPrintVersionAndReturn(3), optionProcess(3),
32 optionRestore(3), optionSaveFile(3), optionSaveState(3), optionUnload‐
33 Nested(3), optionVersion(3), strequate(3), streqvcmp(3), streqvmap(3),
34 strneqvcmp(3), strtransform(3),
35
36
37
38 2019-02-05 optionOnlyUsage(3)