From 7f9566111d37817bf5776e926a7dc08e73b69ab4 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 18 Nov 2004 05:01:19 +0000 Subject: [PATCH] Tweak the atcsim command line interface. --- src/Main/fg_io.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.39.5