summaryrefslogtreecommitdiffstats
path: root/cli
Commit message (Collapse)AuthorAgeFilesLines
* Avoid unused variable warning for empty option classesBoris Kolpackov2012-05-111-5/+7
|
* Implement option class inheritanceBoris Kolpackov2012-05-1019-239/+994
| | | | | | | 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 support for options file inclusionBoris Kolpackov2012-05-107-49/+237
| | | | | | | | | | | | | | New include-path prefixes, c++: and cli:, are now recognized (e.g., include <cli:foo>;). Without a prefix, the include declarations is considered to be c++-include unless the path ends with the .cli extension. The cli-included files are loaded and parsed. Currently, only inclusion relative to the current file is supported. Duplicate inclusions are detected and ignored based on the absolute filesystem path. If a file cli-includes another file, then the runtime code is assumed to come from the included file and is not generated.
* Print usage/version information to STDOUT instead of STDERRBoris Kolpackov2012-03-081-4/+8
|
* 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
|
* Store option names as std::string instead of const char*Boris Kolpackov2011-01-231-3/+3
| | | | | | | With the scanner interface we now cannot assume that the returned value will still be valid after another call to more(). This was the case when we were always scanning argv/argc but now that we have the file scanner, we have to be careful.
* Allow the options file search function to ignore the fileBoris Kolpackov2011-01-232-7/+21
|
* Add support for multiple file options and file search callbacksBoris Kolpackov2011-01-203-11/+100
|
* Use correct parser interfaceBoris Kolpackov2011-01-041-6/+12
|
* Cosmetic changesBoris Kolpackov2011-01-041-1/+3
|
* Copyright updateBoris Kolpackov2011-01-0457-58/+58
|
* Add option description that can be examined at runtime.Boris Kolpackov2010-11-199-4/+273
| | | | New option: --generate-description.
* Add support for suppressing documentation for undocumented optionsBoris Kolpackov2010-11-097-40/+106
|
* Implement the --cli-namespace optionBoris Kolpackov2010-09-1411-87/+154
|
* Pass missing argument in vector and set parsersBoris Kolpackov2010-08-031-2/+4
|
* Cosmetic changesBoris Kolpackov2010-06-041-2/+2
|
* Add support for single quotes in option filesBoris Kolpackov2010-06-043-8/+10
|
* Update description of the --options-file optionBoris Kolpackov2010-06-024-8/+81
|
* Add support for quoting in option file scannerBoris Kolpackov2010-06-023-4/+74
|
* Implement generation of specifier functions (--generate-specifier)Boris Kolpackov2010-06-0212-21/+178
| | | | | These functions determine whether the option was specified on the command line. New test: specifier.
* Add cli options instead of overriding themBoris Kolpackov2010-06-021-1/+1
|
* Cosmetic changeBoris Kolpackov2010-03-301-1/+0
|
* Update copyrightBoris Kolpackov2010-01-0157-58/+58
|
* Bump version to 1.1.0Boris Kolpackov2009-12-131-1/+1
|
* Workaround for older g++ versionsBoris Kolpackov2009-12-131-1/+1
|
* Workaround for VC++ 8.0Boris Kolpackov2009-12-131-2/+6
|
* Mark 'stdout' as a reserved nameBoris Kolpackov2009-12-135-16/+17
| | | | 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-106-11/+328
| | | | Implemented using the new argv_file_scanner scanner implementation.
* Get rid of warning in generated code if option class is emptyBoris Kolpackov2009-12-102-1/+16
|
* Add new files to the VC++ projectsBoris Kolpackov2009-12-102-0/+16
|
* Cosmetic changesBoris Kolpackov2009-12-101-22/+38
|
* Scanner-based parsing with support for element erasingBoris Kolpackov2009-12-109-57/+521
| | | | | | 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.
* Cosmetic changesBoris Kolpackov2009-12-101-1/+2
|
* Use a scanner interface instead of argc/argvBoris Kolpackov2009-11-288-145/+419
| | | | | This will allow supporting other sources of options, for example, an option file.
* Implement option value modifiers generationBoris Kolpackov2009-11-228-29/+68
|
* Complete the implementation of the option documentationBoris Kolpackov2009-11-1712-76/+650
| | | | | 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-0810-103/+652
|
* Call format() on argument stringBoris Kolpackov2009-11-081-2/+2
|
* Implement usage generationBoris Kolpackov2009-11-0814-325/+814
| | | | Also migrate the CLI compiler usage handling to the auto-generated version.
* Implement option documentation support in frontendBoris Kolpackov2009-11-082-0/+76
|
* Bump version to 1.0.0Boris Kolpackov2009-10-281-1/+1
|
* Use assignment initialization for fundamental typesBoris Kolpackov2009-10-282-7/+7
|
* Use consistent const placementBoris Kolpackov2009-10-182-2/+2
|
* Add install targetBoris Kolpackov2009-10-111-5/+0
|
* Remove support for the dist targetBoris Kolpackov2009-10-111-9/+0
|
* Add usage informationBoris Kolpackov2009-10-118-17/+289
|
* Handle the --version optionBoris Kolpackov2009-10-111-13/+23
|
* Remove unneeded header inclusionBoris Kolpackov2009-10-111-2/+0
|
* Use a set instead of pre-sorted array for keywordsBoris Kolpackov2009-10-112-31/+39
| | | | The pre-sorted array approach depends on the character encoding.