1
0
Fork 0

Tweak the atcsim command line interface.

This commit is contained in:
curt 2004-11-18 05:01:19 +00:00
parent 11548e9e7e
commit 7f9566111d

View file

@ -112,7 +112,8 @@ FGIO::parse_port_config( const string& config )
if ( tokens.size() != 6 ) { if ( tokens.size() != 6 ) {
SG_LOG( SG_IO, SG_ALERT, "Usage: --atcsim=[no-]pedals," SG_LOG( SG_IO, SG_ALERT, "Usage: --atcsim=[no-]pedals,"
<< "input0_config,input1_config," << "input0_config,input1_config,"
<< "output0_config,output1_config" ); << "output0_config,output1_config,file.nas" );
return NULL;
} }
if ( tokens[1] == "no-pedals" ) { if ( tokens[1] == "no-pedals" ) {
fgSetBool( "/input/atcsim/ignore-pedal-controls", true ); fgSetBool( "/input/atcsim/ignore-pedal-controls", true );