X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Foptions.cxx;h=3714d56275f52da8d01d5242bf2ea77e18147f8c;hb=aa5ad5ad6e4794bd540eff4f8bb503b383177ea5;hp=4b0c430231b1d3530582f78f3b14c93b253eb792;hpb=69a4aa083dc59232eb24ee2dfe94d95f0e231cb3;p=flightgear.git diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 4b0c43023..3714d5627 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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 to " << 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;