summaryrefslogtreecommitdiffstats
path: root/cli
Commit message (Collapse)AuthorAgeFilesLines
* Improve html and plain text outputBoris Kolpackov2016-01-181-12/+111
|
* Stop quoting \c in plain textBoris Kolpackov2016-01-183-33/+23
| | | | | The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc.
* Initial support for plain text documentation (--generate-txt)Boris Kolpackov2016-01-1810-130/+638
| | | | Support for option documentation generation is still a TODO.
* Handle newline-only lines in documentation string parserBoris Kolpackov2016-01-161-23/+26
|
* In long usage separate options with blank linesBoris Kolpackov2016-01-111-3/+11
|
* Add support for --output-{prefix,suffix} optionsBoris Kolpackov2016-01-116-7/+104
|
* Fix "over-qualification"Boris Kolpackov2015-12-091-1/+1
|
* Add --std option with c++{98,11,14} values; use function-static in C++11Boris Kolpackov2015-12-0910-14/+143
| | | | | This way we can use option descriptions during static initialization (e.g., of an Apache module).
* Fix unused argument warningBoris Kolpackov2015-12-031-1/+1
|
* Don't require ';' after option documentation blockBoris Kolpackov2015-11-261-9/+21
|
* Indent multi-line lists in plain text outputBoris Kolpackov2015-11-262-9/+52
|
* Implement support for n-dash, \-Boris Kolpackov2015-11-241-0/+26
|
* Implement --class-doc optionBoris Kolpackov2015-11-249-74/+217
|
* Implement support for documentation inside classesBoris Kolpackov2015-11-2410-198/+330
|
* Add --include-base-last optionBoris Kolpackov2015-11-237-25/+65
|
* Change print_short_usage() to print_usage()Boris Kolpackov2015-11-233-32/+19
|
* Colorize man page linksBoris Kolpackov2015-11-231-3/+15
|
* Implement line break support (\n)Boris Kolpackov2015-11-201-15/+65
| | | | | Note that several consecutive breaks in the man format will be collapsed into a single one.
* Implement entire page usage generationBoris Kolpackov2015-11-1913-267/+1233
|
* Fix std::map parser implementationBoris Kolpackov2015-11-191-4/+6
|
* Make \h text bold if using ANSI colorBoris Kolpackov2015-11-191-1/+14
|
* Add support for ANSI colorization of usage outputBoris Kolpackov2015-11-186-23/+135
|
* Fix man font selection logicBoris Kolpackov2015-11-182-41/+75
|
* Add support for links in documentation: \l{<target>[ <text>]}Boris Kolpackov2015-11-183-41/+202
| | | | | | If link target doesn't contain ':' (protocol separator), then it is assumed to be the man page reference in the form '<name>(<section>)'. If text is missing, then target is used as text.
* Support specifying documentation variables on command lineBoris Kolpackov2015-11-166-184/+227
|
* Redo map parser to use sub-parsers for key, valueBoris Kolpackov2015-11-161-26/+10
|
* Get rid of warningBoris Kolpackov2015-11-161-2/+1
|
* Add support for man formattingBoris Kolpackov2015-11-135-97/+243
|
* Implement plain text formatting for new blocksBoris Kolpackov2015-11-122-388/+86
|
* New formatter implementationBoris Kolpackov2015-11-122-41/+431
|
* Implement list supportBoris Kolpackov2015-11-112-64/+209
|
* Rework paragraph block handling in formatterBoris Kolpackov2015-11-101-47/+122
|
* Implement support pre-formatted fragmentsBoris Kolpackov2015-11-093-30/+164
| | | | | | | | | | | | For example: / x y z / Other text.
* Add support for expanding documentation variablesBoris Kolpackov2015-10-311-15/+83
|
* Parse and enter documentation variablesBoris Kolpackov2015-10-313-27/+94
|
* Add support for \h paragraphBoris Kolpackov2015-10-311-17/+84
|
* Reimplement format() to first split string into paragraphsBoris Kolpackov2015-10-302-65/+124
|
* Implement scope documentation generation in HTMLBoris Kolpackov2015-10-306-98/+132
|
* Add parsing support for scope-level documentationBoris Kolpackov2015-10-2914-105/+280
|
* Update to work with latest build2Boris Kolpackov2015-09-041-1/+3
|
* Add --generate-parse optionBoris Kolpackov2015-09-026-20/+60
| | | | | | | When specified, CLI will generate parse() functions instead of parsing constructors. This is primarily useful for being able to parse into an already initialized options class instance, for example, to implement merging/overriding.
* Add --short-usage optionBoris Kolpackov2015-09-028-41/+171
| | | | | When combined with --long-usage, it makes CLI generate both short and long usage printing code.
* Allow specification of argument documentation for flagsBoris Kolpackov2015-09-013-7/+7
| | | | | | | | If all three documentation strings are specified for a bool option, then the usage, html, and man documentation will include the argument documentation (first string), just like for non-flag options. This is primarily useful for using options to handle commands where you may want to end up with something like "help [<options>] <command>".
* Bump version to 1.2.0.a1Boris Kolpackov2015-04-021-1/+1
|
* Initial build2 supportBoris Kolpackov2015-04-021-0/+8
|
* Add C++ modeline (-*- C++ -*-) to generated filesBoris Kolpackov2015-04-021-1/+3
|
* Cosmetic changeBoris Kolpackov2015-04-021-1/+1
|
* Get rid of GCC warningMichael Shepanski2014-10-131-2/+2
|
* Fix ambiguous lookup bugBoris Kolpackov2012-06-291-1/+1
|
* Generate "direct access" modifier in addition to "setter"Boris Kolpackov2012-06-212-0/+14
|