revert last: keep --props option because of option architecture
This commit is contained in:
parent
158e3ebdb4
commit
3d9ed0a10f
2 changed files with 1 additions and 8 deletions
|
@ -44,7 +44,7 @@ a running copy of FG allows for switching components on the fly, a
|
||||||
positive boon for panel authors. To see the property tree start FG
|
positive boon for panel authors. To see the property tree start FG
|
||||||
with the following command line:
|
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
|
Then use telnet to connect to localhost on port 5500. You can browse
|
||||||
the tree as you would a filesystem.
|
the tree as you would a filesystem.
|
||||||
|
|
|
@ -527,13 +527,6 @@ parse_fov( const string& arg ) {
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
add_channel( const string& type, const string& channel_str ) {
|
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 );
|
SG_LOG(SG_GENERAL, SG_INFO, "Channel string = " << channel_str );
|
||||||
globals->get_channel_options_list()->push_back( type + "," + channel_str );
|
globals->get_channel_options_list()->push_back( type + "," + channel_str );
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue