diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-25 17:45:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-25 17:45:03 +0000 |
commit | 24ab24777d7cd72b7ff35a9d02cb43e26f006b0d (patch) | |
tree | 09b1e2e72e05ff6e7502f02edb6d3fc6100cc741 /src/optparser.cpp | |
parent | b4e1fa15d0c809439139db3a60a3969d848dcf77 (diff) | |
download | libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.gz libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.bz2 libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.xz libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.zip |
More myriad testing, fixes, arrangement, etc. UnitSuite add-ons, it has some
command line parameters now, I would like to also add an automatic paramter that
would switch it to a computer-readable output mode for use in a larger testing
framework.
Diffstat (limited to 'src/optparser.cpp')
-rw-r--r-- | src/optparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optparser.cpp b/src/optparser.cpp index 53efe92..864d8ce 100644 --- a/src/optparser.cpp +++ b/src/optparser.cpp | |||
@@ -290,7 +290,7 @@ int Bu::OptParser::optHelp( StrArray /*aParams*/ ) | |||
290 | return 0; | 290 | return 0; |
291 | } | 291 | } |
292 | 292 | ||
293 | void Bu::OptParser::optionError( const Bu::FString sOption ) | 293 | void Bu::OptParser::optionError( const Bu::FString &sOption ) |
294 | { | 294 | { |
295 | sio << "Unregcognized option discovered: " << sOption << sio.nl << sio.nl; | 295 | sio << "Unregcognized option discovered: " << sOption << sio.nl << sio.nl; |
296 | exit( 1 ); | 296 | exit( 1 ); |