Command line options: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 58: Line 58:
::Show all command line options when combined with <code>--help</code> or <code>-h</code>.
::Show all command line options when combined with <code>--help</code> or <code>-h</code>.


<code>--version</code>
<code>--version[={true|false|1|0|yes|no}]</code>
::Display the current FlightGear version.
::Display the current FlightGear version.


Line 79: Line 79:
::Specify an additional base data directory (FGData), before the [[$FG_ROOT]] directory.
::Specify an additional base data directory (FGData), before the [[$FG_ROOT]] directory.


<code>--terrasync[={true|false|1|0|yes|no}]</code><br/>
<code>--enable-terrasync</code><br/>
<code>--enable-terrasync</code><br/>
<code>--disable-terrasync</code>
<code>--disable-terrasync</code>
Line 89: Line 90:
::Select the language for this session. Available codes: <tt>ca</tt>, <tt>de</tt>, <tt>en</tt>, <tt>es</tt>, <tt>fr</tt>, <tt>it</tt>, <tt>nl</tt>, <tt>pl</tt>, <tt>pt</tt>, <tt>ru</tt>, <tt>tr</tt>, <tt>sk</tt>, <tt>zh</tt>.
::Select the language for this session. Available codes: <tt>ca</tt>, <tt>de</tt>, <tt>en</tt>, <tt>es</tt>, <tt>fr</tt>, <tt>it</tt>, <tt>nl</tt>, <tt>pl</tt>, <tt>pt</tt>, <tt>ru</tt>, <tt>tr</tt>, <tt>sk</tt>, <tt>zh</tt>.


<code>--launcher</code>
<code>--launcher[={true|false|1|0|yes|no}]</code><br/>
::Run [[FlightGear Qt launcher|Qt Launcher]]. Without this option, it will immediately start the simulator in the default configuration or in the configuration read from the [[Fgfsrc|fgfsrc]] file - if it exists.
<code>--enable-launcher</code><br/>
<code>--disable-launcher</code>
::Enable/disable [[FlightGear Qt launcher|Qt Launcher]]. Without this option or with enabled it, it will immediately start the simulator in the default configuration or in the configuration read from the [[Fgfsrc|fgfsrc]] file - if it exists.


<code>--splash-screen[={true|false|1|0|yes|no}]</code><br/>
<code>--enable-splash-screen</code><br/>
<code>--enable-splash-screen</code><br/>
<code>--disable-splash-screen</code>
<code>--disable-splash-screen</code>
::Enable/disable splash screen.
::Enable/disable splash screen.


<code>--mouse-pointer[={true|false|1|0|yes|no}]</code><br/>
<code>--enable-mouse-pointer</code><br/>
<code>--enable-mouse-pointer</code><br/>
<code>--disable-mouse-pointer</code>
<code>--disable-mouse-pointer</code>
Line 115: Line 120:
::Load additional properties from path.
::Load additional properties from path.


<code>--no-default-config</code>
<code>--no-default-config[={true|false|1|0|yes|no}]</code>
::Do not load any default configuration files (like [[Fgfsrc|fgfsrc]]) unless explicitly specified with <code>--config</code>.
::Enable/Disable not loading any default configuration files (like [[Fgfsrc|fgfsrc]]) unless explicitly specified with <code>--config</code>.


<code>--units-feet</code><br/>
<code>--units-feet</code><br/>
Line 125: Line 130:
::Allow Nasal scripts to read files from directories listed as path (separate multiple paths with a semicolon (Windows) or a colon (UNIX)). By default, for security reasons, Nasal scripts can only read data from certain directories, such as [[$FG_ROOT]], [[$FG_HOME]], etc.
::Allow Nasal scripts to read files from directories listed as path (separate multiple paths with a semicolon (Windows) or a colon (UNIX)). By default, for security reasons, Nasal scripts can only read data from certain directories, such as [[$FG_ROOT]], [[$FG_HOME]], etc.


<code>--read-only</code>
<code>--read-only[={true|false|1|0|yes|no}]</code><br/>
::Make [[$FG_HOME]] read-only.
<code>--enable-read-only</code><br/>
<code>--disable-read-only</code>
::Enable/disable [[$FG_HOME]] read-only.


<code>--ignore-autosave</code>
<code>--ignore-autosave[={true|false|1|0|yes|no}]</code><br/>
::Ignore the autosave file, i.e. the settings saved in this file will not be loaded during startup, nor will the settings be saved to this file when closing the simulator.
<code>--enable-ignore-autosave</code><br/>
<code>--disable-ignore-autosave</code>
::Enable/disable ignoring the autosave file, i.e. the settings saved in this file will not be loaded during startup, nor will the settings be saved to this file when closing the simulator.


<code>--save-on-exit[={true|false|1|0|yes|no}]</code><br/>
<code>--enable-save-on-exit</code><br/>
<code>--enable-save-on-exit</code><br/>
<code>--disable-save-on-exit</code>
<code>--disable-save-on-exit</code>
::Allow/Disallow save preferences upon program exit.
::Enable/Disable saving preferences at program exit.


<code>--restore-defaults</code>
<code>--restore-defaults[={true|false|1|0|yes|no}]</code><br/>
::Reset all user settings to their defaults (rendering options etc.)
<code>--enable-restore-defaults</code><br/>
<code>--disable-restore-defaults</code>
::Enable/Disable resetting all user settings to their defaults (rendering options etc.)


<code>--gui[={true|false|1|0|yes|no}]</code><br/>
<code>--enable-gui</code><br/>
<code>--disable-gui</code>
<code>--disable-gui</code>
::Enable headless mode.
::Enable/Disable GUI (disabling GUI enables headless mode.)


<code>--jsbsim-output-directive-file=file</code>
<code>--jsbsim-output-directive-file=file</code>
1,089

edits

Navigation menu