cli: help string cleanup
- fix some typos - capitalization consistency - Reword exit code argument
This commit is contained in:
parent
98dca3b774
commit
5f189ec3fd
|
@ -81,7 +81,7 @@ CLI::PCB_DRC_COMMAND::PCB_DRC_COMMAND() : COMMAND( "drc" )
|
|||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( ARG_EXIT_CODE_VIOLATIONS )
|
||||
.help( UTF8STDSTR( _( "Return a exit code depending on whether or not violations exist" ) ) )
|
||||
.help( UTF8STDSTR( _( "Return a nonzero exit code if DRC violations exist" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
}
|
||||
|
|
|
@ -140,13 +140,13 @@ CLI::PCB_EXPORT_3D_COMMAND::PCB_EXPORT_3D_COMMAND( const std::string& aNa
|
|||
m_argParser.add_argument( ARG_VRML_UNITS )
|
||||
.default_value( std::string( "in" ) )
|
||||
.help( UTF8STDSTR(
|
||||
_( "Output units; ascii or csv format only; valid options: mm, m, in, tenths" ) ) );
|
||||
_( "Output units; valid options: mm, m, in, tenths" ) ) );
|
||||
|
||||
m_argParser.add_argument( ARG_VRML_MODELS_DIR )
|
||||
.default_value( std::string( "" ) )
|
||||
.help( UTF8STDSTR(
|
||||
_( "Name of folder to create and store 3d models in, if not specified or "
|
||||
"empty, the models will be embedded in main exported vrml file" ) ) );
|
||||
"empty, the models will be embedded in main exported VRML file" ) ) );
|
||||
|
||||
m_argParser.add_argument( ARG_VRML_MODELS_RELATIVE )
|
||||
.help( UTF8STDSTR( _( "Used with --models-dir to output relative paths in the resulting file" ) ) )
|
||||
|
|
|
@ -74,7 +74,7 @@ CLI::SCH_ERC_COMMAND::SCH_ERC_COMMAND() : COMMAND( "erc" )
|
|||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( ARG_EXIT_CODE_VIOLATIONS )
|
||||
.help( UTF8STDSTR( _( "Return a exit code depending on whether or not violations exist" ) ) )
|
||||
.help( UTF8STDSTR( _( "Return a nonzero exit code if ERC violations exist" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
CLI::SCH_EXPORT_BOM_COMMAND::SCH_EXPORT_BOM_COMMAND() : COMMAND( "bom" )
|
||||
{
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Generate a Bill of Material (BOM)" ) ) );
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Generate a Bill of Materials (BOM)" ) ) );
|
||||
addCommonArgs( true, true, false, false );
|
||||
|
||||
// Preset options
|
||||
|
|
|
@ -27,10 +27,10 @@ namespace CLI
|
|||
{
|
||||
// Options for selecting presets of the export, e.g. GroupedByValue and CSV
|
||||
#define ARG_PRESET "--preset"
|
||||
#define ARG_PRESET_DESC "Use a named BOM preset settings from the schematic, e.g. \"Grouped By Value\"."
|
||||
#define ARG_PRESET_DESC "Use a named BOM preset setting from the schematic, e.g. \"Grouped By Value\"."
|
||||
|
||||
#define ARG_FMT_PRESET "--format-preset"
|
||||
#define ARG_FMT_PRESET_DESC "Use a named BOM format preset settings from the schematic, e.g. CSV."
|
||||
#define ARG_FMT_PRESET_DESC "Use a named BOM format preset setting from the schematic, e.g. CSV."
|
||||
|
||||
// Options for setting the format of the export, e.g. CSV
|
||||
#define ARG_FIELD_DELIMITER "--field-delimiter"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
CLI::SCH_EXPORT_NETLIST_COMMAND::SCH_EXPORT_NETLIST_COMMAND() : COMMAND( "netlist" )
|
||||
{
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Export a Netlist" ) ) );
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Export a netlist" ) ) );
|
||||
addCommonArgs( true, true, false, false );
|
||||
|
||||
m_argParser.add_argument( ARG_FORMAT )
|
||||
|
|
|
@ -33,8 +33,8 @@ CLI::SCH_EXPORT_PYTHONBOM_COMMAND::SCH_EXPORT_PYTHONBOM_COMMAND() :
|
|||
{
|
||||
addCommonArgs( true, true, false, false );
|
||||
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Export the legacy bom xml format used in the "
|
||||
"schematic editor with python scripts" ) ) );
|
||||
m_argParser.add_description( UTF8STDSTR( _( "Export the legacy BOM XML format used in the "
|
||||
"schematic editor with Python scripts" ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue