Removed the redundent prepending of application name.

This commit is contained in:
Robert Osfield 2008-11-11 16:59:12 +00:00
parent ee172b840c
commit 98c9d0e88f

View File

@ -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);
}
}
}