mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-11 21:24:53 -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
|
||||
|
@ -350,17 +350,15 @@ bool ValueArg<T>::processArg(int *i, std::vector<std::string>& args)
|
||||
if ( _alreadySet )
|
||||
{
|
||||
if ( _xorSet )
|
||||
throw( CmdLineParseException(
|
||||
"Mutually exclusive argument already set!",
|
||||
toString()) );
|
||||
throw( CmdLineParseException("Mutually exclusive argument"
|
||||
" already set!", toString()));
|
||||
else
|
||||
throw( CmdLineParseException("Argument already set!",
|
||||
toString()) );
|
||||
}
|
||||
|
||||
if ( Arg::delimiter() != ' ' && value == "" )
|
||||
throw( ArgParseException(
|
||||
"Couldn't find delimiter for this argument!",
|
||||
throw( ArgParseException("Couldn't find delimiter for this argument!",
|
||||
toString() ) );
|
||||
|
||||
if ( value == "" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user