1
0
Fork 0

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:
Torsten Dreyer 2014-10-02 11:33:45 +02:00
parent cc526174c1
commit e4fd9a6b8f

View file

@ -950,6 +950,15 @@ fgOptStartDateGmt( const char *arg )
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
fgOptHttpd( const char * arg )
{
@ -1604,7 +1613,7 @@ struct OptionDesc {
{"atcsim", true, OPTION_CHANNEL, "", false, "dummy", 0 },
{"atlas", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
{"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-ctrls", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },
{"native-fdm", true, OPTION_CHANNEL | OPTION_MULTI, "", false, "", 0 },