For each option for which the
.B values
directive was specified, the lopsubgen command generates a C
-enumeration which contains the given identifiers. This allows to
-refer to each possible value through a numeric constant.
+enumeration which contains the given identifiers. This allows
+referring to each possible value through a numeric constant.
.TP
.B default_val
This directive makes only sense for options which take an argument. For
«
Some applications need to store further information for each subcommand,
for example a function pointer which refers to the implementation of
- the subcommand. The optional user data feature allows to define one
- application defined pointer that can be retrieved by calling this
- function.
+ the subcommand. The optional user data feature allows the application
+ to define a pointer that can be retrieved by calling this function.
Of course storing one function pointer per command could simply be
done by defining a suitable array in the application which contains
[subcommand aux_info]
purpose = stash additional per-command information into a suite file
[description]
- The aux_info feature of lopsub allows to add additional information
+ The aux_info feature of lopsub allows adding of additional information
to the subcommands of a suite without the need to maintain another
per-command array, which would be error-prone.