From e0d983e0d8d62a9f5ed91f82e8cee7c8700c0180 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 30 Mar 2023 10:47:13 +0200 Subject: [PATCH] kicad-cli, export drill files: re-add -u as short option for --excellon-units. Was removed by my previous commit b6f5e3d --- kicad/cli/command_export_pcb_drill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kicad/cli/command_export_pcb_drill.cpp b/kicad/cli/command_export_pcb_drill.cpp index 79663e03cb..b1e8c6a2d8 100644 --- a/kicad/cli/command_export_pcb_drill.cpp +++ b/kicad/cli/command_export_pcb_drill.cpp @@ -54,7 +54,7 @@ CLI::EXPORT_PCB_DRILL_COMMAND::EXPORT_PCB_DRILL_COMMAND() : EXPORT_PCB_BASE_COMM .help( UTF8STDSTR( _( "Valid options are: decimal,suppressleading,suppresstrailing,keep." ) ) ); - m_argParser.add_argument( ARG_EXCELLON_UNITS ) + m_argParser.add_argument( "-u", ARG_EXCELLON_UNITS ) .default_value( std::string( "mm" ) ) .help( UTF8STDSTR( _( "Output units, valid options:in,mm" ) ) );