Commit 70485c2c authored by aligungr's avatar aligungr

Options parser improvement

parent 797b4bb9
......@@ -199,9 +199,11 @@ void opt::OptionsResult::help() const
{
if (!m_description.appDescription.empty())
std::cout << "| ";
std::cout << "Copyright (c) " << year << " " << m_description.copyright << std::endl;
std::cout << "Copyright (c) " << year << " " << m_description.copyright;
}
std::cout << std::endl;
std::cout << "Usage:" << std::endl;
for (auto &usage : m_description.usages)
std::cout << " " << m_description.programName << " " << usage << std::endl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment