mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-17 16:15:07 -04:00
minor reformatting
This commit is contained in:
parent
d6f5047688
commit
82d187771b
@ -398,7 +398,6 @@ inline void CmdLine::xorAdd( std::vector<Arg*>& ors )
|
|||||||
{
|
{
|
||||||
(*it)->forceRequired();
|
(*it)->forceRequired();
|
||||||
(*it)->setRequireLabel( "OR required" );
|
(*it)->setRequireLabel( "OR required" );
|
||||||
|
|
||||||
add( *it );
|
add( *it );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -453,7 +452,8 @@ inline void CmdLine::parse(std::vector<std::string>& args)
|
|||||||
|
|
||||||
int requiredCount = 0;
|
int requiredCount = 0;
|
||||||
|
|
||||||
for (int i = 0; static_cast<unsigned int>(i) < args.size(); i++) {
|
for (int i = 0; static_cast<unsigned int>(i) < args.size(); i++)
|
||||||
|
{
|
||||||
bool matched = false;
|
bool matched = false;
|
||||||
for (ArgListIterator it = _argList.begin();
|
for (ArgListIterator it = _argList.begin();
|
||||||
it != _argList.end(); it++) {
|
it != _argList.end(); it++) {
|
||||||
@ -616,9 +616,7 @@ inline bool CmdLine::getExceptionHandling() const
|
|||||||
inline void CmdLine::reset()
|
inline void CmdLine::reset()
|
||||||
{
|
{
|
||||||
for( ArgListIterator it = _argList.begin(); it != _argList.end(); it++ )
|
for( ArgListIterator it = _argList.begin(); it != _argList.end(); it++ )
|
||||||
{
|
|
||||||
(*it)->reset();
|
(*it)->reset();
|
||||||
}
|
|
||||||
|
|
||||||
_progName.clear();
|
_progName.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user