From b8b194ea5fa6ba7a3aac7ff212eb62ccfb942dbf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Nov 2015 14:30:02 +0200 Subject: Implement --class-doc option --- cli/options.cli | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'cli/options.cli') diff --git a/cli/options.cli b/cli/options.cli index 9212024..9554d10 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -182,11 +182,25 @@ class options By default, base classes are included first." }; + std::map --class-doc + { + "=", + "Specify the documentation that should be used for the options + class . The value should be a fully-qualified class name, + for example, \cb{app::options}. The value can be \cb{short}, + \cb{long}, or \cb{exclude}. If the value is \cb{exclude}, then the + class documentation is excluded from usage and man/HTML output. For + usage, the \cb{short} and \cb{long} values determine which usage + function will be called when the class is used as base or as part of + the page usage (see \cb{--page-usage}). For man/HTML, these values + determine which documentation strings are used in the output." + }; + std::vector --class { - "", - "Generate the man page or HTML documentation only for the options - class. The name should be a fully-qualified options class name, + "", + "Generate the man page or HTML documentation only for the options class + . The value should be a fully-qualified options class name, for example, \cb{app::options}. To generate documentation for multiple classes, repeat this option and the documentation will be produced in the order specified. This functionality is useful if you need to assemble -- cgit v1.1