summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)AuthorFilesLines
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov1-1/+1
2018-04-16Add support for note formatting in plain text outputBoris Kolpackov4-23/+61
2018-04-12Change "inline block" term to "span" not to confuse with "block block"Boris Kolpackov1-108/+108
2018-04-12Add support for note block and spanBoris Kolpackov1-5/+87
For example: \N|This is a block note. It may consist of multiple paragraphs.| And this is \N{an inline note} that is inside a paragraph. Notes are currently only support for the html output.
2018-04-01Implement combined flags (-xyz vs -x -y -z) and values (--foo=bar) supportBoris Kolpackov6-61/+414
Both are enabled by default but can be disable with --no-combined-flags and --no-combined-values options.
2018-03-24Return bool from parse() indicating whether anything has been parsedBoris Kolpackov4-20/+51
2018-03-24Add --keep-separator optionBoris Kolpackov5-4/+55
2018-03-24Document argument groupsBoris Kolpackov1-3/+47
2018-03-21Implement group_scannerBoris Kolpackov10-4/+2307
2018-03-21Guarantee validity of values returned by scanner for two argumentsBoris Kolpackov6-15/+45
2018-03-19Add support for exclude-base value in --class-doc optionBoris Kolpackov7-17/+61
2018-03-19Add vector_scanner::reset()Boris Kolpackov2-0/+9
2018-03-13Add missing include when generating vector_scanner supportBoris Kolpackov1-2/+5
2018-03-05Set "code" style for code-only paragraphs, cleanup nested <code></code>Boris Kolpackov1-1/+54
2018-03-04Add "\ " escaping to specify non-ignorable spaceBoris Kolpackov1-0/+25
This can used to manually align things (e.g., in synopsis) but will only work if the entire lines are in \c{}.
2018-02-12Don't translate arguments in pre-formatted fragmentsBoris Kolpackov1-25/+44
2018-01-11Fix implicit fallthrough warningsBoris Kolpackov2-4/+2
2018-01-11Minor fixesBoris Kolpackov1-2/+2
2017-08-24Don't clean generated cli files from srcKaren Arutyunov1-2/+5
2017-08-21Don't distribute generated version.hxx and don't clean versionKaren Arutyunov1-1/+0
2017-07-30Convert to use utility libraryKaren Arutyunov1-4/+5
2017-07-15Make use of wildcards in buildfilesKaren Arutyunov1-37/+4
2017-05-03Remove stray semicolon from generated codeBoris Kolpackov1-1/+1
2017-04-29Bump version to 1.2.0-b.0.z, switch to version moduleBoris Kolpackov4-1/+53
2017-03-03Rework build2 cli compilationBoris Kolpackov1-6/+6
2017-01-03Update copyright yearBoris Kolpackov65-66/+66
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov4-12/+12
2016-11-15Start switch to build2Boris Kolpackov68-1046/+197
2016-11-14Bump version to 1.2.0-a2Boris Kolpackov1-1/+1
2016-10-08Add class to preface TOC element so that it can be styledBoris Kolpackov1-1/+1
2016-09-03Add --omit-link-check optionBoris Kolpackov5-11/+41
2016-09-02Add support for escaping pre-formatted fragment markerBoris Kolpackov1-3/+10
For example: \ \\ \ Of course now we cannot specify the literal escape sequence. Perhaps we should recognize a line consisting of N (N > 1) back slashes and output all but the first.
2016-06-20Support suppressing CLI runtime generation (--suppress-cli)Boris Kolpackov5-7/+44
This is useful in pure-help pages.
2016-02-12Add support for generating vector<string> scanner (--generate-vector-scanner)Boris Kolpackov7-0/+119
2016-02-11Strip .br from man .IP value, add .br after to force newlineBoris Kolpackov1-1/+39
2016-02-11Remove empty <th> from preface TOC entriesBoris Kolpackov1-4/+9
2016-02-11Add support for re-mapping HTML headingsBoris Kolpackov5-16/+80
2016-02-11Improve generic value parser (extract char)Boris Kolpackov1-4/+7
2016-02-11Assign numbers to TOC headingsBoris Kolpackov2-0/+25
2016-02-11Implement links in TOCBoris Kolpackov1-0/+8
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov4-19/+148
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov7-79/+433
Currently only supported in the HTML output.
2016-02-09Add support for variable expansion (\$var$) in doc stringsBoris Kolpackov6-22/+125
2016-02-09Add support for relative link targetsBoris Kolpackov1-9/+3
Now we only "recognize" the link target as man page if it contains '('.
2016-02-01Add \h0 \h1 \H \h2 headings in addition to \hBoris Kolpackov1-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.
2016-02-01Add support for link transformation (--link-regex)Boris Kolpackov6-25/+226
2016-01-31Include (1) in foo(1) into boldBoris Kolpackov1-11/+5
2016-01-31Make <arg> monospaceBoris Kolpackov1-2/+2
2016-01-28Add support for file expansion in prologue/epilogue filesBoris Kolpackov3-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.
2016-01-26Implement support for sourcing .cli filesBoris Kolpackov5-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.