From 9623ea7d573ffc634f22f1010f031e7500c613a0 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 13 Nov 2022 14:28:48 -0500 Subject: [PATCH] Remove the -v from the cli subcommands --- kicad/cli/command.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kicad/cli/command.h b/kicad/cli/command.h index 6456e9b52a..3439ce17ae 100644 --- a/kicad/cli/command.h +++ b/kicad/cli/command.h @@ -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;