From: curt Date: Thu, 18 Nov 2004 05:01:19 +0000 (+0000) Subject: Tweak the atcsim command line interface. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f9566111d37817bf5776e926a7dc08e73b69ab4;p=flightgear.git Tweak the atcsim command line interface. --- diff --git a/src/Main/fg_io.cxx b/src/Main/fg_io.cxx index ab6f34b2c..bf8af8592 100644 --- a/src/Main/fg_io.cxx +++ b/src/Main/fg_io.cxx @@ -112,7 +112,8 @@ FGIO::parse_port_config( const string& config ) if ( tokens.size() != 6 ) { SG_LOG( SG_IO, SG_ALERT, "Usage: --atcsim=[no-]pedals," << "input0_config,input1_config," - << "output0_config,output1_config" ); + << "output0_config,output1_config,file.nas" ); + return NULL; } if ( tokens[1] == "no-pedals" ) { fgSetBool( "/input/atcsim/ignore-pedal-controls", true );