diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-01-15 18:30:31 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-01-15 18:30:31 +0000 |
commit | 42f921e3dad53405f67463f57eefd52b095ee11f (patch) | |
tree | 78c8c0308ee5867fa9359a679daa0680a8d62995 /src/tests | |
parent | 5471d34089277ad5c622fd9c392b9270229d9e3d (diff) | |
download | libbu++-42f921e3dad53405f67463f57eefd52b095ee11f.tar.gz libbu++-42f921e3dad53405f67463f57eefd52b095ee11f.tar.bz2 libbu++-42f921e3dad53405f67463f57eefd52b095ee11f.tar.xz libbu++-42f921e3dad53405f67463f57eefd52b095ee11f.zip |
Documented more of MiniCron, and added some cool new help features to OptParser.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/optparser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/optparser.cpp b/src/tests/optparser.cpp index 5c91351..449677d 100644 --- a/src/tests/optparser.cpp +++ b/src/tests/optparser.cpp | |||
@@ -34,10 +34,11 @@ public: | |||
34 | true | 34 | true |
35 | ); | 35 | ); |
36 | addOption( sVar, 's', "str", "Set a variable, see what it does."); | 36 | addOption( sVar, 's', "str", "Set a variable, see what it does."); |
37 | addOption( iBob, "bob", "Change iBob to wahtever you want."); | 37 | addOption( iBob, "bob", "Change iBob to whatever you want."); |
38 | addOption( dBob, 'd', "Change dBob to wahtever you want."); | 38 | addOption( dBob, 'd', "Change dBob to whatever you want."); |
39 | 39 | ||
40 | setOverride("str", "Bob!"); | 40 | setOverride("str", "Bob!"); |
41 | setHelpDefault("bob", "=542"); | ||
41 | 42 | ||
42 | addHelpOption(); | 43 | addHelpOption(); |
43 | 44 | ||