Cleanup CLI argument specifications.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21950
This commit is contained in:
Jeff Young
2025-10-12 21:48:51 +01:00
parent 4c91cba7c8
commit 9468f304c7
9 changed files with 9 additions and 25 deletions
+2 -4
View File
@@ -66,8 +66,7 @@ CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND( const std::string& aName,
m_argParser.add_argument( "-e", ARG_EXCLUDE_DRAWING_SHEET )
.help( UTF8STDSTR( _( "No drawing sheet" ) ) )
.implicit_value( true )
.default_value( false );
.flag();
m_argParser.add_argument( ARG_FONT_NAME )
.help( UTF8STDSTR( _( "Default font name" ) ) )
@@ -75,8 +74,7 @@ CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND( const std::string& aName,
m_argParser.add_argument( ARG_DRAW_HOP_OVER )
.help( UTF8STDSTR( _( "Draw hop over at wire crossings" ) ) )
.implicit_value( true )
.default_value( false );
.flag();
if( aPlotFormat == SCH_PLOT_FORMAT::PDF )
{