Add some missing newlines to cli output
This commit is contained in:
parent
27c573ca42
commit
479b3e6c72
|
@ -91,7 +91,7 @@ void EESCHEMA_JOBS_HANDLER::InitRenderSettings( KIGFX::SCH_RENDER_SETTINGS* aRen
|
|||
aSch->Prj().GetProjectPath() );
|
||||
|
||||
if( !DS_DATA_MODEL::GetTheInstance().LoadDrawingSheet( filename ) )
|
||||
wxFprintf( stderr, _( "Error loading drawing sheet." ) );
|
||||
wxFprintf( stderr, _( "Error loading drawing sheet." ) + wxS( "\n" ) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -379,7 +379,7 @@ int EESCHEMA_JOBS_HANDLER::doSymExportSvg( JOB_SYM_EXPORT_SVG* aSvgJob,
|
|||
|
||||
if( !plotter->OpenFile( fn.GetFullPath() ) )
|
||||
{
|
||||
wxFprintf( stderr, _( "Unable to open destination '%s'" ), fn.GetFullPath() );
|
||||
wxFprintf( stderr, _( "Unable to open destination '%s'" ) + wxS( "\n" ), fn.GetFullPath() );
|
||||
|
||||
delete plotter;
|
||||
return CLI::EXIT_CODES::ERR_INVALID_INPUT_FILE;
|
||||
|
@ -442,7 +442,7 @@ int EESCHEMA_JOBS_HANDLER::JobSymExportSvg( JOB* aJob )
|
|||
|
||||
if( !symbol )
|
||||
{
|
||||
wxFprintf( stderr, _( "There is no symbol selected to save." ) );
|
||||
wxFprintf( stderr, _( "There is no symbol selected to save." ) + wxS( "\n" ) );
|
||||
return CLI::EXIT_CODES::ERR_ARGS;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,9 +143,9 @@ int PCBNEW_JOBS_HANDLER::JobExportSvg( JOB* aJob )
|
|||
if( aJob->IsCli() )
|
||||
{
|
||||
if( PCB_PLOT_SVG::Plot( brd, svgPlotOptions ) )
|
||||
wxPrintf( _( "Successfully created svg file" ) );
|
||||
wxPrintf( _( "Successfully created svg file" )+ wxS( "\n" ) );
|
||||
else
|
||||
wxPrintf( _( "Error creating svg file" ) );
|
||||
wxPrintf( _( "Error creating svg file" )+ wxS( "\n" ) );
|
||||
}
|
||||
|
||||
return CLI::EXIT_CODES::OK;
|
||||
|
@ -775,7 +775,7 @@ int PCBNEW_JOBS_HANDLER::JobExportFpSvg( JOB* aJob )
|
|||
}
|
||||
|
||||
if( !svgJob->m_footprint.IsEmpty() && !singleFpPlotted )
|
||||
wxFprintf( stderr, _( "The given footprint could not be found to export." ) );
|
||||
wxFprintf( stderr, _( "The given footprint could not be found to export." ) + wxS( "\n" ) );
|
||||
|
||||
return CLI::EXIT_CODES::OK;
|
||||
}
|
||||
|
@ -827,7 +827,7 @@ int PCBNEW_JOBS_HANDLER::doFpExportSvg( JOB_FP_EXPORT_SVG* aSvgJob, const FOOTPR
|
|||
svgPlotOptions.m_plotFrame = false;
|
||||
|
||||
if( !PCB_PLOT_SVG::Plot( brd.get(), svgPlotOptions ) )
|
||||
wxFprintf( stderr, _( "Error creating svg file" ) );
|
||||
wxFprintf( stderr, _( "Error creating svg file" ) + wxS( "\n" ) );
|
||||
|
||||
|
||||
return CLI::EXIT_CODES::OK;
|
||||
|
|
Loading…
Reference in New Issue