Documentation for CommandLineParser

This commit is contained in:
Maksim Shabunin
2015-05-08 17:28:03 +03:00
parent 61293a09ff
commit e22c09c601
2 changed files with 131 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ void CommandLineParser::getByName(const String& name, bool space_delete, int typ
}
}
impl->error = true;
impl->error_message = impl->error_message + "Unknown parametes " + name + "\n";
impl->error_message = impl->error_message + "Unknown parameter " + name + "\n";
}
catch (std::exception& e)
{
@@ -133,7 +133,7 @@ void CommandLineParser::getByIndex(int index, bool space_delete, int type, void*
}
}
impl->error = true;
impl->error_message = impl->error_message + "Unknown parametes #" + format("%d", index) + "\n";
impl->error_message = impl->error_message + "Unknown parameter #" + format("%d", index) + "\n";
}
catch(std::exception & e)
{