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/optparser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/optparser.h') diff --git a/src/optparser.h b/src/optparser.h index 89ef14d..6b0ae58 100644 --- a/src/optparser.h +++ b/src/optparser.h @@ -81,6 +81,7 @@ namespace Bu OptionSignal sUsed; _ValueProxy *pProxy; Bu::FString sOverride; + Bu::FString sHelpDefault; }; private: @@ -157,6 +158,8 @@ namespace Bu void setOverride( char cOpt, const Bu::FString &sOverride ); void setOverride( const Bu::FString &sOpt, const Bu::FString &sOverride ); + + void setHelpDefault( const Bu::FString &sOpt, const Bu::FString &sTxt ); void addHelpOption( char c='h', const Bu::FString &s="help", const Bu::FString &sHelp="This help." ); -- cgit v1.2.3