summaryrefslogtreecommitdiffstats
path: root/cli
Commit message (Collapse)AuthorAgeFilesLines
...
* First part of TOC generation support (no links yet)Boris Kolpackov2016-02-117-79/+433
| | | | Currently only supported in the HTML output.
* Add support for variable expansion (\$var$) in doc stringsBoris Kolpackov2016-02-096-22/+125
|
* Add support for relative link targetsBoris Kolpackov2016-02-091-9/+3
| | | | Now we only "recognize" the link target as man page if it contains '('.
* Add \h0 \h1 \H \h2 headings in addition to \hBoris Kolpackov2016-02-011-9/+61
| | | | | | Currently only has effect in HTML output (in other formats they are all treated as \h). Also, automatic mapping of \h to <h1> or <h2> depending on whether \h0 or \h1 was seen only works for single doc-string documents.
* Add support for link transformation (--link-regex)Boris Kolpackov2016-02-016-25/+226
|
* Include (1) in foo(1) into boldBoris Kolpackov2016-01-311-11/+5
|
* Make <arg> monospaceBoris Kolpackov2016-01-311-2/+2
|
* Add support for file expansion in prologue/epilogue filesBoris Kolpackov2016-01-283-19/+72
| | | | | | This is similar to variable expansion ($name$) except here we detect if the name starts with ./ or ../ and treat it as a path relative to the prologue/ epilogue file.
* Implement support for sourcing .cli filesBoris Kolpackov2016-01-265-4/+141
| | | | | | | | | | The idea is that the file is "read in" as if its content was copy-n-pasted. For example: "\h|Installation|" source "INSTALL.cli" // Also used to generate plain text INSTALL. Unlike include, source can appear anywhere in the file.
* 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.