positive boon for panel authors. To see the property tree start FG
with the following command line:
-fgfs --telnet=socket,bi,5,localhost,5500,tcp
+fgfs --props=socket,bi,5,localhost,5500,tcp
Then use telnet to connect to localhost on port 5500. You can browse
the tree as you would a filesystem.
static bool
add_channel( const string& type, const string& channel_str ) {
- if (type == "props")
- SG_LOG(SG_GENERAL, SG_ALERT, "\n"
- "****************************************************************\n"
- "* The --props option is obsolete and will be removed in future *\n"
- "* releases. Please use --telnet instead with the same syntax. *\n"
- "****************************************************************");
-
SG_LOG(SG_GENERAL, SG_INFO, "Channel string = " << channel_str );
globals->get_channel_options_list()->push_back( type + "," + channel_str );
return true;