use same flag, fix inversion
This commit is contained in:
parent
6a00eaa4a3
commit
7aa368c2c5
|
@ -71,7 +71,7 @@ CLI::EXPORT_PCB_GERBER_COMMAND::EXPORT_PCB_GERBER_COMMAND( const std::string& aN
|
|||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
||||
m_argParser.add_argument( ARG_AUX_ORIGIN )
|
||||
m_argParser.add_argument( ARG_USE_DRILL_FILE_ORIGIN )
|
||||
.help( UTF8STDSTR( _( "Use drill/place file origin" ) ) )
|
||||
.implicit_value( true )
|
||||
.default_value( false );
|
||||
|
@ -100,7 +100,7 @@ int CLI::EXPORT_PCB_GERBER_COMMAND::populateJob( JOB_EXPORT_PCB_GERBER* aJob )
|
|||
aJob->m_subtractSolderMaskFromSilk = m_argParser.get<bool>( ARG_SUBTRACT_SOLDERMASK );
|
||||
aJob->m_includeNetlistAttributes = !m_argParser.get<bool>( ARG_NO_NETLIST );
|
||||
aJob->m_useX2Format = !m_argParser.get<bool>( ARG_NO_X2 );
|
||||
aJob->m_useAuxOrigin = !m_argParser.get<bool>( ARG_AUX_ORIGIN );
|
||||
aJob->m_useAuxOrigin = m_argParser.get<bool>( ARG_USE_DRILL_FILE_ORIGIN );
|
||||
aJob->m_precision = m_argParser.get<int>( ARG_PRECISION );
|
||||
aJob->m_printMaskLayer = m_selectedLayers;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace CLI
|
|||
#define ARG_NO_NETLIST "--no-netlist"
|
||||
#define ARG_SUBTRACT_SOLDERMASK "--subtract-soldermask"
|
||||
#define ARG_DISABLE_APERTURE_MACROS "--disable-aperture-macros"
|
||||
#define ARG_AUX_ORIGIN "--aux-origin"
|
||||
#define ARG_USE_DRILL_FILE_ORIGIN "--use-drill-file-origin"
|
||||
#define ARG_PRECISION "--precision"
|
||||
|
||||
class EXPORT_PCB_GERBER_COMMAND : public EXPORT_PCB_BASE_COMMAND
|
||||
|
|
Loading…
Reference in New Issue