summaryrefslogtreecommitdiffstats
path: root/cli/options.hxx
Commit message (Collapse)AuthorAgeFilesLines
* Add optional message to invalid_option exceptionBoris Kolpackov2018-07-071-1/+6
|
* Implement combined flags (-xyz vs -x -y -z) and values (--foo=bar) supportBoris Kolpackov2018-04-011-0/+20
| | | | | 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-1/+1
|
* Add --keep-separator optionBoris Kolpackov2018-03-241-0/+10
|
* Implement group_scannerBoris Kolpackov2018-03-211-1/+611
|
* Guarantee validity of values returned by scanner for two argumentsBoris Kolpackov2018-03-211-1/+12
|
* Start switch to build2Boris Kolpackov2016-11-151-2/+2
|
* Add --omit-link-check optionBoris Kolpackov2016-09-031-0/+4
|
* Support suppressing CLI runtime generation (--suppress-cli)Boris Kolpackov2016-06-201-0/+4
| | | | This is useful in pure-help pages.
* Add support for generating vector<string> scanner (--generate-vector-scanner)Boris Kolpackov2016-02-121-0/+4
|
* Add support for re-mapping HTML headingsBoris Kolpackov2016-02-111-0/+8
|
* Add support for link transformation (--link-regex)Boris Kolpackov2016-02-011-0/+12
|
* Initial support for plain text documentation (--generate-txt)Boris Kolpackov2016-01-181-0/+44
| | | | Support for option documentation generation is still a TODO.
* Add support for --output-{prefix,suffix} optionsBoris Kolpackov2016-01-111-0/+16
|
* Add --std option with c++{98,11,14} values; use function-static in C++11Boris Kolpackov2015-12-091-0/+10
| | | | | This way we can use option descriptions during static initialization (e.g., of an Apache module).
* Implement --class-doc optionBoris Kolpackov2015-11-241-0/+8
|
* Implement support for documentation inside classesBoris Kolpackov2015-11-241-3/+25
|
* Add --include-base-last optionBoris Kolpackov2015-11-231-0/+12
|
* Implement entire page usage generationBoris Kolpackov2015-11-191-0/+160
|
* Add support for ANSI colorization of usage outputBoris Kolpackov2015-11-181-0/+4
|
* Support specifying documentation variables on command lineBoris Kolpackov2015-11-161-22/+26
|
* Add --generate-parse optionBoris Kolpackov2015-09-021-2/+6
| | | | | | | 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-3/+19
| | | | | When combined with --long-usage, it makes CLI generate both short and long usage printing code.
* Add ability to specify prologues/epilogues for generated C++ filesBoris Kolpackov2012-06-201-3/+70
| | | | | Also add options to specify text prologues/epilogues in addition to files for generated man and html files.
* Rename --*logue options to --*logue-fileBoris Kolpackov2012-06-201-18/+18
|
* Add support for specifying output stream type (--stream-type)Boris Kolpackov2012-06-151-0/+4
|
* Add support for specifying multiple classes with --class optionBoris Kolpackov2012-05-111-2/+2
|
* Add support for -I optionBoris Kolpackov2012-05-111-0/+4
| | | | | | Now quote-included ("") option files are searched for relative to the including file while bracket-included (<>) ones are search in the directories specified with -I.
* Implement option class inheritanceBoris Kolpackov2012-05-101-5/+47
| | | | | | | 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 option description that can be examined at runtime.Boris Kolpackov2010-11-191-0/+4
| | | | New option: --generate-description.
* Add support for suppressing documentation for undocumented optionsBoris Kolpackov2010-11-091-0/+4
|
* Implement the --cli-namespace optionBoris Kolpackov2010-09-141-0/+4
|
* Update description of the --options-file optionBoris Kolpackov2010-06-021-0/+21
|
* Implement generation of specifier functions (--generate-specifier)Boris Kolpackov2010-06-021-0/+4
| | | | | These functions determine whether the option was specified on the command line. New test: specifier.
* Mark 'stdout' as a reserved nameBoris Kolpackov2009-12-131-2/+2
| | | | On some platforms (e.g., Windows/VC++ 8.0) stdout is a macro.
* Allows additional options to be provided in files (--options-file)Boris Kolpackov2009-12-101-0/+64
| | | | Implemented using the new argv_file_scanner scanner implementation.
* Scanner-based parsing with support for element erasingBoris Kolpackov2009-12-101-8/+22
| | | | | | 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-4/+57
| | | | | This will allow supporting other sources of options, for example, an option file.
* Implement option value modifiers generationBoris Kolpackov2009-11-221-0/+4
|
* Complete the implementation of the option documentationBoris Kolpackov2009-11-171-4/+32
| | | | | Add the man page generator. Port CLI usage, HTML documentation and the man page to the auto-generated version. Update examples and documentation.
* Implement HTML pages generationBoris Kolpackov2009-11-081-0/+20
|
* Implement usage generationBoris Kolpackov2009-11-081-14/+28
| | | | Also migrate the CLI compiler usage handling to the auto-generated version.
* Add usage informationBoris Kolpackov2009-10-111-4/+4
|
* Move runtime inline function to inline fileBoris Kolpackov2009-10-041-47/+14
|
* Add --option-{prefix,separator} optionsBoris Kolpackov2009-10-041-0/+8
|
* Add --reserved-name optionBoris Kolpackov2009-10-041-0/+6
|
* Add options for various include settingsBoris Kolpackov2009-10-041-3/+15
| | | | | | --include-with-brackets --include-prefix --guard-prefix
* Add --{hxx,ixx,cxx}-suffix optionsBoris Kolpackov2009-10-041-3/+15
|
* Add --suppress-inline optionBoris Kolpackov2009-10-041-0/+6
|
* Add option file for the CLI compiler itselfBoris Kolpackov2009-09-271-0/+230