]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.cxx
- added property-multiply command with argument 'factor'
[flightgear.git] / src / Main / options.cxx
index 4b0c430231b1d3530582f78f3b14c93b253eb792..3714d56275f52da8d01d5242bf2ea77e18147f8c 100644 (file)
@@ -171,7 +171,7 @@ fgSetDefaults ()
     fgSetInt("/sim/startup/ysize", 600);
     fgSetInt("/sim/rendering/bits-per-pixel", 16);
     fgSetString("/sim/view-mode", "pilot");
-    fgSetDouble("/sim/startup/view-offset", 0);
+    fgSetDouble("/sim/view/offset", 0);
     fgSetDouble("/environment/visibility", 20000);
 
                                // HUD options
@@ -837,7 +837,7 @@ parse_option (const string& arg)
            (FGViewerRPH *)globals->get_viewmgr()->get_view( 0 );
        pilot_view->set_view_offset( default_view_offset );
        pilot_view->set_goal_view_offset( default_view_offset );
-       fgSetDouble("/sim/startup/view-offset", default_view_offset);
+       fgSetDouble("/sim/view/offset", default_view_offset);
     // $$$ end - added VS Renganathan, 14 Oct 2K
     } else if ( arg.find( "--visibility=" ) == 0 ) {
        fgSetDouble("/environment/visibility", atof(arg.substr(13)));
@@ -1045,7 +1045,7 @@ fgUsage ()
     cout << "\t--control=mode:  primary control mode " 
         << "(joystick, keyboard, mouse)" << endl;
     cout << "\t--prop:name=value:  set property <name> to <value>" << endl;
-    cout << "\t--file=path:  load additional properties from path" << endl;
+    cout << "\t--config=path:  load additional properties from path" << endl;
     cout << endl;
 
     cout << "Features:" << endl;