Command line options: Difference between revisions

Jump to navigation Jump to search
m
Bot: Automated text replacement (-CVS +Git)
m (Bot: Automated text replacement (-CVS +Git))
Line 7: Line 7:


The following lists show the options for ''fgfs'' including a short description and sorted by categories. Please have in mind that keeping those lists up to date on the wiki is not an easy task. Also there are different versions of FlightGear out there which don't share exactly the same options. Therefore you better also check your versions ones with <code>fgfs --help --verbose</code>. If this command fails, you may add the option <code>--fg-root=[path]</code> as well, see below.<BR>
The following lists show the options for ''fgfs'' including a short description and sorted by categories. Please have in mind that keeping those lists up to date on the wiki is not an easy task. Also there are different versions of FlightGear out there which don't share exactly the same options. Therefore you better also check your versions ones with <code>fgfs --help --verbose</code>. If this command fails, you may add the option <code>--fg-root=[path]</code> as well, see below.<BR>
It is sad but true, not even this command is, at least in CVS, up to date all the time. At the time of writing at least one option which is supported is not shown with <code>fgfs --help --verbose</code>. So if you have serious issues with an option, the source code is, as always, also the best source for info. In the file ''src/Main/options.cxx'' all the options are listed with their hard coded ''default'' setting and type.<BR>
It is sad but true, not even this command is, at least in Git, up to date all the time. At the time of writing at least one option which is supported is not shown with <code>fgfs --help --verbose</code>. So if you have serious issues with an option, the source code is, as always, also the best source for info. In the file ''src/Main/options.cxx'' all the options are listed with their hard coded ''default'' setting and type.<BR>
The file $FG_ROOT/options.xml is used to generate the output for <code>fgfs --help [--verbose]</code>. That's the reason why <code>--fg-root=[path]</code> has to be added to this, if it is not set as environmental variable or as option in fgfsrc.
The file $FG_ROOT/options.xml is used to generate the output for <code>fgfs --help [--verbose]</code>. That's the reason why <code>--fg-root=[path]</code> has to be added to this, if it is not set as environmental variable or as option in fgfsrc.


Line 22: Line 22:
                                 Defaults to $FG_ROOT/Scenery
                                 Defaults to $FG_ROOT/Scenery
   (--language=code              Select the language for this session
   (--language=code              Select the language for this session
                                 *Not* supported in 1.9.1 and CVS atm!)
                                 *Not* supported in 1.9.1 and Git atm!)
   --disable-game-mode          Disable full-screen game mode
   --disable-game-mode          Disable full-screen game mode
   --enable-game-mode          Enable full-screen game mode
   --enable-game-mode          Enable full-screen game mode

Navigation menu