cli: fp export svg uses an output dir, not file

This commit is contained in:
Graham Keeth 2023-11-20 22:30:26 -05:00 committed by Ian McInerney
parent 5f189ec3fd
commit 541e0a0aaa
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#define ARG_FOOTPRINT "--footprint"
CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND() : PCB_EXPORT_BASE_COMMAND( "svg", true )
CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND() : PCB_EXPORT_BASE_COMMAND( "svg", true, true )
{
m_argParser.add_description( UTF8STDSTR( _( "Exports the footprint or entire footprint library to SVG" ) ) );
@ -85,4 +85,4 @@ int CLI::FP_EXPORT_SVG_COMMAND::doPerform( KIWAY& aKiway )
int exitCode = aKiway.ProcessJob( KIWAY::FACE_PCB, svgJob.get() );
return exitCode;
}
}