Add help note for the gerber vs gerbers, and make "pos" obvious

Will add more strings in v8 I guess to avoid too many sneaky string additions :P
This commit is contained in:
Marek Roszko 2023-01-14 14:31:56 -05:00
parent 4b0b9a36bf
commit ba6c23da00
4 changed files with 9 additions and 0 deletions

View File

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

View File

@ -38,6 +38,9 @@ CLI::EXPORT_PCB_GERBERS_COMMAND::EXPORT_PCB_GERBERS_COMMAND() :
{
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 )
.default_value( std::string() )
.help( UTF8STDSTR(

View File

@ -41,6 +41,8 @@
CLI::EXPORT_PCB_POS_COMMAND::EXPORT_PCB_POS_COMMAND() : EXPORT_PCB_BASE_COMMAND( "pos" )
{
m_argParser.add_description( UTF8STDSTR( _( "Export footprint position file" ) ) );
m_argParser.add_argument( ARG_SIDE )
.default_value( std::string( "both" ) )
.help( UTF8STDSTR( _(

View File

@ -31,6 +31,8 @@
CLI::EXPORT_SCH_PYTHONBOM_COMMAND::EXPORT_SCH_PYTHONBOM_COMMAND() :
EXPORT_PCB_BASE_COMMAND( "python-bom" )
{
m_argParser.add_description( UTF8STDSTR( _( "Export the legacy bom xml format used in the "
"schematic editor with python scripts" ) ) );
}