From 42f921e3dad53405f67463f57eefd52b095ee11f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 15 Jan 2010 18:30:31 +0000 Subject: Documented more of MiniCron, and added some cool new help features to OptParser. --- src/tests/optparser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/tests') 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: true ); addOption( sVar, 's', "str", "Set a variable, see what it does."); - addOption( iBob, "bob", "Change iBob to wahtever you want."); - addOption( dBob, 'd', "Change dBob to wahtever you want."); + addOption( iBob, "bob", "Change iBob to whatever you want."); + addOption( dBob, 'd', "Change dBob to whatever you want."); setOverride("str", "Bob!"); + setHelpDefault("bob", "=542"); addHelpOption(); -- cgit v1.2.3