Add extra dash to the long short args
This commit is contained in:
parent
3b722de637
commit
2c8b1a50b0
|
@ -37,22 +37,22 @@ CLI::EXPORT_PCB_DXF_COMMAND::EXPORT_PCB_DXF_COMMAND() : EXPORT_PCB_BASE_COMMAND(
|
|||
{
|
||||
addLayerArg( true );
|
||||
|
||||
m_argParser.add_argument( "-erd", ARG_EXCLUDE_REFDES )
|
||||
m_argParser.add_argument( "--erd", ARG_EXCLUDE_REFDES )
|
||||
.help( UTF8STDSTR( _( "Exclude the reference designator text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ev", ARG_EXCLUDE_VALUE )
|
||||
m_argParser.add_argument( "--ev", ARG_EXCLUDE_VALUE )
|
||||
.help( UTF8STDSTR( _( "Exclude the value text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-uc", ARG_USE_CONTOURS )
|
||||
m_argParser.add_argument( "--uc", ARG_USE_CONTOURS )
|
||||
.help( UTF8STDSTR( _( "Plot graphic items using their contours" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ou", ARG_OUTPUT_UNITS )
|
||||
m_argParser.add_argument( "--ou", ARG_OUTPUT_UNITS )
|
||||
.default_value( std::string( "in" ) )
|
||||
.help( UTF8STDSTR( _( "Output units, valid options: mm, in" ) ) );
|
||||
}
|
||||
|
|
|
@ -36,17 +36,17 @@ CLI::EXPORT_PCB_GERBER_COMMAND::EXPORT_PCB_GERBER_COMMAND( const std::string& aN
|
|||
{
|
||||
addLayerArg( true );
|
||||
|
||||
m_argParser.add_argument( "-erd", ARG_EXCLUDE_REFDES )
|
||||
m_argParser.add_argument( "--erd", ARG_EXCLUDE_REFDES )
|
||||
.help( UTF8STDSTR( _( "Exclude the reference designator text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ev", ARG_EXCLUDE_VALUE )
|
||||
m_argParser.add_argument( "--ev", ARG_EXCLUDE_VALUE )
|
||||
.help( UTF8STDSTR( _( "Exclude the value text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ibt", ARG_INCLUDE_BORDER_TITLE )
|
||||
m_argParser.add_argument( "--ibt", ARG_INCLUDE_BORDER_TITLE )
|
||||
.help( UTF8STDSTR( _( "Include the border and title block" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
|
|
@ -38,7 +38,7 @@ CLI::EXPORT_PCB_GERBERS_COMMAND::EXPORT_PCB_GERBERS_COMMAND() :
|
|||
{
|
||||
m_requireLayers = false;
|
||||
|
||||
m_argParser.add_argument( "-cl", ARG_COMMON_LAYERS )
|
||||
m_argParser.add_argument( "--cl", ARG_COMMON_LAYERS )
|
||||
.default_value( std::string() )
|
||||
.help( UTF8STDSTR(
|
||||
_( "Layers to include on each plot, comma separated list of untranslated layer names to include such as "
|
||||
|
|
|
@ -35,17 +35,17 @@ CLI::EXPORT_PCB_PDF_COMMAND::EXPORT_PCB_PDF_COMMAND() : EXPORT_PCB_BASE_COMMAND(
|
|||
{
|
||||
addLayerArg( true );
|
||||
|
||||
m_argParser.add_argument( "-erd", ARG_EXCLUDE_REFDES )
|
||||
m_argParser.add_argument( "--erd", ARG_EXCLUDE_REFDES )
|
||||
.help( UTF8STDSTR( _( "Exclude the reference designator text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ev", ARG_EXCLUDE_VALUE )
|
||||
m_argParser.add_argument( "--ev", ARG_EXCLUDE_VALUE )
|
||||
.help( UTF8STDSTR( _( "Exclude the value text" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( "-ibt", ARG_INCLUDE_BORDER_TITLE )
|
||||
m_argParser.add_argument( "--ibt", ARG_INCLUDE_BORDER_TITLE )
|
||||
.help( UTF8STDSTR( _( "Include the border and title block" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
|
|
@ -39,7 +39,7 @@ CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND() : EXPORT_PCB_BASE_COMMAND( "
|
|||
.default_value( std::string() )
|
||||
.help( UTF8STDSTR( _( "Color theme to use (will default to pcbnew settings)" ) ) );
|
||||
|
||||
m_argParser.add_argument( "-fp", ARG_FOOTPRINT )
|
||||
m_argParser.add_argument( "--fp", ARG_FOOTPRINT )
|
||||
.default_value( std::string() )
|
||||
.help( UTF8STDSTR( _( "Specific symbol to export within the library" ) ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue