summaryrefslogtreecommitdiff
path: root/cli/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15Add support for specifying output stream type (--stream-type)Boris Kolpackov1-1/+2
2012-06-03Use formatted string when calculating option lengthBoris Kolpackov1-3/+4
2012-05-11Avoid unused variable warning for empty option classesBoris Kolpackov1-5/+7
2012-05-10Implement option class inheritanceBoris Kolpackov1-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.
2011-12-14Add missing breakBoris Kolpackov1-0/+1
2011-11-18Assume we have 78 character per line instead of 79 for Windows portabilityBoris Kolpackov1-1/+5
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-19Add option description that can be examined at runtime.Boris Kolpackov1-3/+106
New option: --generate-description.
2010-11-09Add support for suppressing documentation for undocumented optionsBoris Kolpackov1-5/+12
2010-09-14Implement the --cli-namespace optionBoris Kolpackov1-17/+17
2010-06-02Implement generation of specifier functions (--generate-specifier)Boris Kolpackov1-1/+11
These functions determine whether the option was specified on the command line. New test: specifier.
2010-01-01Update copyrightBoris Kolpackov1-1/+1
2009-12-10Get rid of warning in generated code if option class is emptyBoris Kolpackov1-1/+2
2009-12-10Scanner-based parsing with support for element erasingBoris Kolpackov1-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.
2009-11-28Use a scanner interface instead of argc/argvBoris Kolpackov1-24/+27
This will allow supporting other sources of options, for example, an option file.
2009-11-17Complete the implementation of the option documentationBoris Kolpackov1-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.
2009-11-08Call format() on argument stringBoris Kolpackov1-2/+2
2009-11-08Implement usage generationBoris Kolpackov1-0/+293
Also migrate the CLI compiler usage handling to the auto-generated version.
2009-10-28Use assignment initialization for fundamental typesBoris Kolpackov1-4/+4
2009-10-04Add --option-{prefix,separator} optionsBoris Kolpackov1-42/+64
2009-10-04Add support for option name aliases and string literalsBoris Kolpackov1-4/+11
2009-09-27Generate parsing constructors and parsing codeBoris Kolpackov1-1/+271
Also generate some runtime support code such exceptions, value parsers, etc.
2009-09-20Add header, inline, and source generatorsBoris Kolpackov1-0/+24
All they currently do is output the namespace structure plus the included C++ files for header.