aboutsummaryrefslogtreecommitdiffstats
path: root/checks/getopt.h
Commit message (Collapse)AuthorAgeFilesLines
* s/check/test/glloyd2014-01-011-129/+0
|
* Completely inline getopt.cpp into getopt.h so it can be used in toolbox and ↵lloyd2010-01-031-6/+85
| | | | other examples
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-0/+5
| | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* Add a value_if_set member function to the getopt implementation (returnslloyd2006-12-091-0/+2
| | | | the option argument, or an empty string if no argument set)
* Add header guardslloyd2006-08-091-0/+5
|
* Add a simple option parser to the check utility; it makes for much sanerlloyd2006-08-091-0/+38
code in check.cpp, and now the order of options on the command line should not change what heppens. The options taken have changed slightly. All options that take values are now --arg=value instead of "--arg value", and the various --bench-(blah) options have been turned into a new option --bench-type that takes an argument specifying the type of algorithm to benchmark.