File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ void version( )
121
121
" QGIS version" ,
122
122
MB_OK );
123
123
#else
124
- std::cerr << msg.toStdString ();
124
+ std::cout << msg.toStdString ();
125
125
#endif
126
126
127
127
} // version()
@@ -185,7 +185,7 @@ void usage( const QString &appName )
185
185
" QGIS command line options" ,
186
186
MB_OK );
187
187
#else
188
- std::cerr << msg.join ( QString () ).toLocal8Bit ().constData ();
188
+ std::cout << msg.join ( QString () ).toLocal8Bit ().constData ();
189
189
#endif
190
190
191
191
} // usage()
@@ -617,7 +617,7 @@ int main( int argc, char *argv[] )
617
617
if ( arg == QLatin1String ( " --help" ) || arg == QLatin1String ( " -?" ) )
618
618
{
619
619
usage ( args[0 ] );
620
- return 2 ;
620
+ return EXIT_SUCCESS ;
621
621
}
622
622
else if ( arg == QLatin1String ( " --version" ) || arg == QLatin1String ( " -v" ) )
623
623
{
You can’t perform that action at this time.
0 commit comments