Add trailing newline to version prints
This commit is contained in:
parent
fa7205ebbc
commit
0c717ec4f2
|
@ -41,16 +41,16 @@ int CLI::VERSION_COMMAND::doPerform( KIWAY& aKiway )
|
||||||
wxString format = FROM_UTF8( m_argParser.get<std::string>( ARG_FORMAT ).c_str() );
|
wxString format = FROM_UTF8( m_argParser.get<std::string>( ARG_FORMAT ).c_str() );
|
||||||
if( format == wxS( "plain" ) )
|
if( format == wxS( "plain" ) )
|
||||||
{
|
{
|
||||||
wxPrintf( GetMajorMinorPatchVersion() );
|
wxPrintf( "%s\n", GetMajorMinorPatchVersion() );
|
||||||
}
|
}
|
||||||
else if( format == wxS( "commit" ) )
|
else if( format == wxS( "commit" ) )
|
||||||
{
|
{
|
||||||
wxPrintf( GetCommitHash() );
|
wxPrintf( "%s\n", GetCommitHash() );
|
||||||
}
|
}
|
||||||
else if( format == wxS( "about" ) )
|
else if( format == wxS( "about" ) )
|
||||||
{
|
{
|
||||||
wxString msg_version = GetVersionInfoData( wxS( "kicad-cli" ) );
|
wxString msg_version = GetVersionInfoData( wxS( "kicad-cli" ) );
|
||||||
wxPrintf( msg_version );
|
wxPrintf( "%s\n", msg_version );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue