diff options
Diffstat (limited to 'src/optparser.h')
-rw-r--r-- | src/optparser.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
81 | OptionSignal sUsed; | 81 | OptionSignal sUsed; |
82 | _ValueProxy *pProxy; | 82 | _ValueProxy *pProxy; |
83 | Bu::FString sOverride; | 83 | Bu::FString sOverride; |
84 | Bu::FString sHelpDefault; | ||
84 | }; | 85 | }; |
85 | 86 | ||
86 | private: | 87 | private: |
@@ -157,6 +158,8 @@ namespace Bu | |||
157 | void setOverride( char cOpt, const Bu::FString &sOverride ); | 158 | void setOverride( char cOpt, const Bu::FString &sOverride ); |
158 | void setOverride( const Bu::FString &sOpt, | 159 | void setOverride( const Bu::FString &sOpt, |
159 | const Bu::FString &sOverride ); | 160 | const Bu::FString &sOverride ); |
161 | |||
162 | void setHelpDefault( const Bu::FString &sOpt, const Bu::FString &sTxt ); | ||
160 | 163 | ||
161 | void addHelpOption( char c='h', const Bu::FString &s="help", | 164 | void addHelpOption( char c='h', const Bu::FString &s="help", |
162 | const Bu::FString &sHelp="This help." ); | 165 | const Bu::FString &sHelp="This help." ); |