mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix kicad-cli pcb export gerbers --output argument type in help.
It is a directory name, not a filename Fixes https://gitlab.com/kicad/code/kicad/-/issues/20298
This commit is contained in:
parent
194ee9ef25
commit
e6240f9fbf
@ -29,8 +29,8 @@
|
||||
#include <string_utils.h>
|
||||
|
||||
|
||||
CLI::PCB_EXPORT_GERBER_COMMAND::PCB_EXPORT_GERBER_COMMAND( const std::string& aName ) :
|
||||
PCB_EXPORT_BASE_COMMAND( aName )
|
||||
CLI::PCB_EXPORT_GERBER_COMMAND::PCB_EXPORT_GERBER_COMMAND( const std::string& aName, bool aOutputIsDir ) :
|
||||
PCB_EXPORT_BASE_COMMAND( aName, false, aOutputIsDir )
|
||||
{
|
||||
addLayerArg();
|
||||
addCommonLayersArg();
|
||||
|
@ -37,7 +37,7 @@ namespace CLI
|
||||
class PCB_EXPORT_GERBER_COMMAND : public PCB_EXPORT_BASE_COMMAND
|
||||
{
|
||||
public:
|
||||
PCB_EXPORT_GERBER_COMMAND( const std::string& aName );
|
||||
PCB_EXPORT_GERBER_COMMAND( const std::string& aName, bool aOutputIsDir = false );
|
||||
PCB_EXPORT_GERBER_COMMAND();
|
||||
|
||||
protected:
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
|
||||
CLI::PCB_EXPORT_GERBERS_COMMAND::PCB_EXPORT_GERBERS_COMMAND() :
|
||||
PCB_EXPORT_GERBER_COMMAND( "gerbers" )
|
||||
PCB_EXPORT_GERBER_COMMAND( "gerbers", true )
|
||||
{
|
||||
addCommonLayersArg();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user