changed the blankChar to the bell character instead of *

This commit is contained in:
mes5k 2007-04-21 05:28:42 +00:00
parent 3e70af604d
commit 37c112ddab
2 changed files with 3 additions and 4 deletions

View File

@ -182,10 +182,9 @@ class Arg
/** /**
* The char used as a place holder when SwitchArgs are combined. * The char used as a place holder when SwitchArgs are combined.
* Currently set to '*', which shouldn't cause many problems since * Currently set to the bell char (ASCII 7).
* *'s are expanded by most shells on the command line.
*/ */
static const char blankChar() { return '*'; } static const char blankChar() { return (char)7; }
/** /**
* The char that indicates the beginning of a flag. Currently '-'. * The char that indicates the beginning of a flag. Currently '-'.

View File

@ -1,2 +1,2 @@
my failure message: my failure message:
-*s -- Couldn't find match for argument -s -- Couldn't find match for argument