bfgroup / Lyra

A simple to use, composable, command line parser for C++ 11 and beyond
https://bfgroup.github.io/Lyra/
Boost Software License 1.0
471 stars 56 forks source link

Show help now runs after parsing. #22

Closed shreyaspotnis closed 4 years ago

shreyaspotnis commented 4 years ago

The doc_commands.cpp the show_help was checked before the arguments were parsed. This resulted in help never being printed. Moved it so that it runs after parsing the command line arguments.