Remove the -v from the cli subcommands

This commit is contained in:
Marek Roszko 2022-11-13 14:28:48 -05:00
parent e144f05a4f
commit 9623ea7d57
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ namespace CLI
class COMMAND
{
public:
COMMAND( std::string aName ) : m_name( aName ), m_argParser( aName ){};
COMMAND( std::string aName,
argparse::default_arguments aDefaultArgs = argparse::default_arguments::help ) :
m_name( aName ),
m_argParser( aName, "", aDefaultArgs ){};
virtual int Perform( KIWAY& aKiway ) = 0;