summaryrefslogtreecommitdiffstats
path: root/cli/source.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Update copyright yearKaren Arutyunov2018-05-211-1/+1
|
* Add support for note formatting in plain text outputBoris Kolpackov2018-04-161-1/+1
|
* Implement combined flags (-xyz vs -x -y -z) and values (--foo=bar) supportBoris Kolpackov2018-04-011-16/+116
| | | | | Both are enabled by default but can be disable with --no-combined-flags and --no-combined-values options.
* Return bool from parse() indicating whether anything has been parsedBoris Kolpackov2018-03-241-12/+29
|
* Add --keep-separator optionBoris Kolpackov2018-03-241-4/+9
|
* Add support for exclude-base value in --class-doc optionBoris Kolpackov2018-03-191-2/+2
|
* Remove stray semicolon from generated codeBoris Kolpackov2017-05-031-1/+1
|
* Update copyright yearBoris Kolpackov2017-01-031-1/+1
|
* Start switch to build2Boris Kolpackov2016-11-151-2/+2
|
* Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov2016-02-111-0/+10
| | | | | | | | | | For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
* First part of TOC generation support (no links yet)Boris Kolpackov2016-02-111-4/+4
| | | | Currently only supported in the HTML output.
* Add support for variable expansion (\$var$) in doc stringsBoris Kolpackov2016-02-091-4/+4
|
* Initial support for plain text documentation (--generate-txt)Boris Kolpackov2016-01-181-109/+12
| | | | Support for option documentation generation is still a TODO.
* In long usage separate options with blank linesBoris Kolpackov2016-01-111-3/+11
|
* 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-091-12/+13
| | | | | 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
|
* Indent multi-line lists in plain text outputBoris Kolpackov2015-11-261-6/+34
|
* Implement --class-doc optionBoris Kolpackov2015-11-241-20/+19
|
* Implement support for documentation inside classesBoris Kolpackov2015-11-241-124/+159
|
* Add --include-base-last optionBoris Kolpackov2015-11-231-23/+22
|
* Change print_short_usage() to print_usage()Boris Kolpackov2015-11-231-10/+4
|
* Implement entire page usage generationBoris Kolpackov2015-11-191-116/+296
|
* Add support for ANSI colorization of usage outputBoris Kolpackov2015-11-181-18/+69
|
* Implement plain text formatting for new blocksBoris Kolpackov2015-11-121-6/+11
|
* Implement scope documentation generation in HTMLBoris Kolpackov2015-10-301-3/+3
|
* Add parsing support for scope-level documentationBoris Kolpackov2015-10-291-2/+2
|
* Add --generate-parse optionBoris Kolpackov2015-09-021-10/+16
| | | | | | | 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-021-29/+67
| | | | | 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-011-3/+3
| | | | | | | | 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>".
* Add support for specifying output stream type (--stream-type)Boris Kolpackov2012-06-151-1/+2
|
* Use formatted string when calculating option lengthBoris Kolpackov2012-06-031-3/+4
|
* Avoid unused variable warning for empty option classesBoris Kolpackov2012-05-111-5/+7
|
* Implement option class inheritanceBoris Kolpackov2012-05-101-146/+306
| | | | | | | For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation.
* Add missing breakBoris Kolpackov2011-12-141-0/+1
|
* Assume we have 78 character per line instead of 79 for Windows portabilityBoris Kolpackov2011-11-181-1/+5
|
* Copyright updateBoris Kolpackov2011-01-041-1/+1
|
* Add option description that can be examined at runtime.Boris Kolpackov2010-11-191-3/+106
| | | | New option: --generate-description.
* Add support for suppressing documentation for undocumented optionsBoris Kolpackov2010-11-091-5/+12
|
* Implement the --cli-namespace optionBoris Kolpackov2010-09-141-17/+17
|
* Implement generation of specifier functions (--generate-specifier)Boris Kolpackov2010-06-021-1/+11
| | | | | These functions determine whether the option was specified on the command line. New test: specifier.
* Update copyrightBoris Kolpackov2010-01-011-1/+1
|
* Get rid of warning in generated code if option class is emptyBoris Kolpackov2009-12-101-1/+2
|
* Scanner-based parsing with support for element erasingBoris Kolpackov2009-12-101-16/+33
| | | | | | Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file.
* Use a scanner interface instead of argc/argvBoris Kolpackov2009-11-281-24/+27
| | | | | This will allow supporting other sources of options, for example, an option file.
* Complete the implementation of the option documentationBoris Kolpackov2009-11-171-4/+4
| | | | | Add the man page generator. Port CLI usage, HTML documentation and the man page to the auto-generated version. Update examples and documentation.
* Call format() on argument stringBoris Kolpackov2009-11-081-2/+2
|
* Implement usage generationBoris Kolpackov2009-11-081-0/+293
| | | | Also migrate the CLI compiler usage handling to the auto-generated version.
* Use assignment initialization for fundamental typesBoris Kolpackov2009-10-281-4/+4
|