Remove --jpg-httpd option
the original implementation of a screenshot server is now replaced by the mongoose httpd /screenshot URI which provides more features.
This commit is contained in:
parent
cc526174c1
commit
e4fd9a6b8f
1 changed files with 10 additions and 1 deletions
|
@ -950,6 +950,15 @@ fgOptStartDateGmt( const char *arg )
|
||||||
return FG_OPTIONS_OK;
|
return FG_OPTIONS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
fgOptJpgHttpd( const char * arg )
|
||||||
|
{
|
||||||
|
SG_LOG(SG_ALL,SG_ALERT,
|
||||||
|
"the option --jpg-httpd is no longer supported! Please use --httpd instead."
|
||||||
|
" URL for the screenshot within the new httpd is http://YourFgServer:xxxx/screenshot");
|
||||||
|
return FG_OPTIONS_EXIT;
|
||||||
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
fgOptHttpd( const char * arg )
|
fgOptHttpd( const char * arg )
|
||||||
{
|
{
|
||||||
|
@ -1604,7 +1613,7 @@ struct OptionDesc {
|
||||||
{"atcsim", true, OPTION_CHANNEL, "", false, "dummy", 0 },
|
{"atcsim", true, OPTION_CHANNEL, "", false, "dummy", 0 },
|
||||||
{"atlas", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
{"atlas", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
||||||
{"httpd", true, OPTION_FUNC , "", false, "", fgOptHttpd },
|
{"httpd", true, OPTION_FUNC , "", false, "", fgOptHttpd },
|
||||||
{"jpg-httpd", true, OPTION_CHANNEL, "", false, "", 0 },
|
{"jpg-httpd", true, OPTION_FUNC, "", false, "", fgOptJpgHttpd },
|
||||||
{"native", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
{"native", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
||||||
{"native-ctrls", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
{"native-ctrls", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
||||||
{"native-fdm", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
{"native-fdm", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
|
||||||
|
|
Loading…
Reference in a new issue