Tweak the atcsim command line interface.
This commit is contained in:
parent
11548e9e7e
commit
7f9566111d
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue