mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-09 20:33:39 -04:00
Cleanup: Unify indentation and line length across files.
Consistenly use 4 space indent (no tabs) and < 80 char lines. The files were very inconsistent and hard to edit.
This commit is contained in:
parent
b162f59fcb
commit
b3f85f4965
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* file: SwitchArg.h
|
* file: SwitchArg.h
|
||||||
|
@ -350,17 +350,15 @@ bool ValueArg<T>::processArg(int *i, std::vector<std::string>& args)
|
|||||||
if ( _alreadySet )
|
if ( _alreadySet )
|
||||||
{
|
{
|
||||||
if ( _xorSet )
|
if ( _xorSet )
|
||||||
throw( CmdLineParseException(
|
throw( CmdLineParseException("Mutually exclusive argument"
|
||||||
"Mutually exclusive argument already set!",
|
" already set!", toString()));
|
||||||
toString()) );
|
|
||||||
else
|
else
|
||||||
throw( CmdLineParseException("Argument already set!",
|
throw( CmdLineParseException("Argument already set!",
|
||||||
toString()) );
|
toString()) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( Arg::delimiter() != ' ' && value == "" )
|
if ( Arg::delimiter() != ' ' && value == "" )
|
||||||
throw( ArgParseException(
|
throw( ArgParseException("Couldn't find delimiter for this argument!",
|
||||||
"Couldn't find delimiter for this argument!",
|
|
||||||
toString() ) );
|
toString() ) );
|
||||||
|
|
||||||
if ( value == "" )
|
if ( value == "" )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user