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