diff --git a/include/tclap/Arg.h b/include/tclap/Arg.h index 4a367cf..5a66754 100644 --- a/include/tclap/Arg.h +++ b/include/tclap/Arg.h @@ -182,10 +182,9 @@ class Arg /** * The char used as a place holder when SwitchArgs are combined. - * Currently set to '*', which shouldn't cause many problems since - * *'s are expanded by most shells on the command line. + * Currently set to the bell char (ASCII 7). */ - static const char blankChar() { return '*'; } + static const char blankChar() { return (char)7; } /** * The char that indicates the beginning of a flag. Currently '-'. diff --git a/tests/test18.out b/tests/test18.out index 5bfa578..f9db41c 100644 --- a/tests/test18.out +++ b/tests/test18.out @@ -1,2 +1,2 @@ my failure message: --*s -- Couldn't find match for argument +-s -- Couldn't find match for argument