Add some missing newlines to cli output

This commit is contained in:
Mark Roszko 2024-02-12 02:16:48 +00:00
parent 27c573ca42
commit 479b3e6c72
2 changed files with 7 additions and 7 deletions

View File

@ -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;
}
}

View File

@ -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;