From 7f5433f0f225e50d33f512f67c5d2997155aefed Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 25 Jan 2024 22:19:52 -0500 Subject: [PATCH] Realize why we sch parity wasnt included in cli drc Need to add schematic loading...to the pcbnew jobs handler --- kicad/cli/command_pcb_drc.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kicad/cli/command_pcb_drc.cpp b/kicad/cli/command_pcb_drc.cpp index e21be1caca..e463fccc09 100644 --- a/kicad/cli/command_pcb_drc.cpp +++ b/kicad/cli/command_pcb_drc.cpp @@ -84,10 +84,6 @@ CLI::PCB_DRC_COMMAND::PCB_DRC_COMMAND() : COMMAND( "drc" ) m_argParser.add_argument( ARG_EXIT_CODE_VIOLATIONS ) .help( UTF8STDSTR( _( "Return a nonzero exit code if DRC violations exist" ) ) ) .flag(); - - m_argParser.add_argument( ARG_PARITY ) - .help( UTF8STDSTR( _( "Test for parity between PCB and schematic" ) ) ) - .flag(); } @@ -100,7 +96,6 @@ int CLI::PCB_DRC_COMMAND::doPerform( KIWAY& aKiway ) drcJob->SetVarOverrides( m_argDefineVars ); drcJob->m_reportAllTrackErrors = m_argParser.get( ARG_ALL_TRACK_ERRORS ); drcJob->m_exitCodeViolations = m_argParser.get( ARG_EXIT_CODE_VIOLATIONS ); - drcJob->m_parity = m_argParser.get( ARG_PARITY ); if( m_argParser.get( ARG_SEVERITY_ALL ) ) {