]> git.mxchange.org Git - flightgear.git/commitdiff
Enable parameter for new command-line option.
authorThorstenB <brehmt@gmail.com>
Wed, 22 Jun 2011 18:01:31 +0000 (20:01 +0200)
committerThorstenB <brehmt@gmail.com>
Wed, 22 Jun 2011 18:01:31 +0000 (20:01 +0200)
src/Main/options.cxx

index 342412e538c8b6017de0fc7a8e1a8e9e315190ce..453e68e486c6066cc534043951faf707ff315969 100644 (file)
@@ -1392,7 +1392,7 @@ struct OptionDesc {
     {"enable-wireframe",             false, OPTION_BOOL,   "/sim/rendering/wireframe", true, "", 0 },
     {"disable-terrasync",            false, OPTION_BOOL,   "/sim/terrasync/enabled", false, "", 0 },
     {"enable-terrasync",             false, OPTION_BOOL,   "/sim/terrasync/enabled", true, "", 0 },
-    {"terrasync-dir",                false, OPTION_STRING, "/sim/terrasync/scenery-dir", false, "", 0 },
+    {"terrasync-dir",                true,  OPTION_STRING, "/sim/terrasync/scenery-dir", false, "", 0 },
     {"geometry",                     true,  OPTION_FUNC,   "", false, "", fgOptGeometry },
     {"bpp",                          true,  OPTION_FUNC,   "", false, "", fgOptBpp },
     {"units-feet",                   false, OPTION_STRING, "/sim/startup/units", false, "feet", 0 },