Removed the redundent prepending of application name.
This commit is contained in:
parent
ee172b840c
commit
98c9d0e88f
@ -614,7 +614,7 @@ void ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity
|
||||
// if an option and havn't been previous querried for report as unrecognized.
|
||||
if (isOption(pos) && options.find(_argv[pos])==options.end())
|
||||
{
|
||||
reportError(getApplicationName() +": unrecognized option "+_argv[pos],severity);
|
||||
reportError(std::string("unrecognized option ")+std::string(_argv[pos]),severity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user