]> git.mxchange.org Git - flightgear.git/commitdiff
Make various protocols support multiple definitions, with the new options parsing...
authorJames Turner <zakalawe@mac.com>
Sat, 29 Oct 2011 10:15:45 +0000 (11:15 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 29 Oct 2011 10:15:45 +0000 (11:15 +0100)
src/Main/options.cxx

index 06995a288bbaa6c30b04d1833cdf87bfe15d53d0..5071f43624d9ba2b4abfc99684620c11bc128d0d 100644 (file)
@@ -1467,10 +1467,10 @@ struct OptionDesc {
     {"AV400WSimA",                   true,  OPTION_CHANNEL, "", false, "", 0 },
     {"AV400WSimB",                   true,  OPTION_CHANNEL, "", false, "", 0 },
     {"garmin",                       true,  OPTION_CHANNEL, "", false, "", 0 },
-    {"nmea",                         true,  OPTION_CHANNEL, "", false, "", 0 },
-    {"generic",                      true,  OPTION_CHANNEL, "", false, "", 0 },
-    {"props",                        true,  OPTION_CHANNEL, "", false, "", 0 },
-    {"telnet",                       true,  OPTION_CHANNEL, "", false, "", 0 },
+    {"nmea",                         true,  OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
+    {"generic",                      true,  OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
+    {"props",                        true,  OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
+    {"telnet",                       true,  OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
     {"pve",                          true,  OPTION_CHANNEL, "", false, "", 0 },
     {"ray",                          true,  OPTION_CHANNEL, "", false, "", 0 },
     {"rul",                          true,  OPTION_CHANNEL, "", false, "", 0 },