]> git.mxchange.org Git - flightgear.git/commit
Renamed fgParseOptions(int,string) to fgParseArgs, and modified the
authordavid <david>
Fri, 4 Jan 2002 20:58:48 +0000 (20:58 +0000)
committerdavid <david>
Fri, 4 Jan 2002 20:58:48 +0000 (20:58 +0000)
commit3cbc6f21c76c7c13e726782b488c1904345ca1cd
tree2a68a94148e77ca7a4ba3ad1ebcf0cfc25aeee64
parent3ddf66206aff3a2b3ca4079d87819667d42cd440
Renamed fgParseOptions(int,string) to fgParseArgs, and modified the
function to allow property files as non-option parameters after the
options have finished (and added "--" to terminate options).  It's now
possible to do something like

  fgfs denver-am.fgd

or even

  fgfs at-lax.fgd in-c310.fgd around-sunset.fgd

This works the same way as the --config option, but will be friendlier
for GUIs, where start-up situation files can now be associated easily
with FlightGear.
src/Main/fg_init.cxx
src/Main/options.cxx
src/Main/options.hxx