Add back some cli descriptions

This commit is contained in:
Mark Roszko 2023-08-22 13:29:02 +00:00
parent 10e2e4a12d
commit 3035bbd1d1
3 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,8 @@ CLI::PCB_EXPORT_GERBER_COMMAND::PCB_EXPORT_GERBER_COMMAND( const std::string& aN
{ {
addLayerArg( true ); addLayerArg( true );
m_argParser.add_description( UTF8STDSTR( _( "Plot given layers to a single gerber file" ) ) );
m_argParser.add_argument( "--erd", ARG_EXCLUDE_REFDES ) m_argParser.add_argument( "--erd", ARG_EXCLUDE_REFDES )
.help( UTF8STDSTR( _( "Exclude the reference designator text" ) ) ) .help( UTF8STDSTR( _( "Exclude the reference designator text" ) ) )
.implicit_value( true ) .implicit_value( true )

View File

@ -39,6 +39,9 @@ CLI::PCB_EXPORT_GERBERS_COMMAND::PCB_EXPORT_GERBERS_COMMAND() :
{ {
m_requireLayers = false; m_requireLayers = false;
m_argParser.add_description( UTF8STDSTR( _( "Plot multiple gerbers for a PCB, including the "
"ability to use stored board plot settings" ) ) );
m_argParser.add_argument( "--cl", ARG_COMMON_LAYERS ) m_argParser.add_argument( "--cl", ARG_COMMON_LAYERS )
.default_value( std::string() ) .default_value( std::string() )
.help( UTF8STDSTR( .help( UTF8STDSTR(

View File

@ -30,7 +30,9 @@
CLI::SCH_EXPORT_PYTHONBOM_COMMAND::SCH_EXPORT_PYTHONBOM_COMMAND() : CLI::SCH_EXPORT_PYTHONBOM_COMMAND::SCH_EXPORT_PYTHONBOM_COMMAND() :
PCB_EXPORT_BASE_COMMAND( "python-bom" ) PCB_EXPORT_BASE_COMMAND( "python-bom" )
{ {
m_argParser.add_description( UTF8STDSTR( _( "Export the legacy bom xml format used in the "
"schematic editor with python scripts" ) ) );
} }