mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 03:40:21 -04:00
allowing blank flags
This commit is contained in:
parent
de74a34e32
commit
939452566b
@ -31,10 +31,7 @@ SwitchArg::SwitchArg(const string& flag,
|
||||
Visitor* v )
|
||||
: Arg(flag, name, desc, false, false, v),
|
||||
_value( _default )
|
||||
{
|
||||
if ( _flag == "" )
|
||||
throw(ArgException("Cannot have an unlabeled SwitchArg!",toString()));
|
||||
};
|
||||
{ };
|
||||
|
||||
SwitchArg::~SwitchArg() { };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user