From e4fd9a6b8fac49c7286e4a9a226218d821557e86 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Thu, 2 Oct 2014 11:33:45 +0200 Subject: [PATCH] Remove --jpg-httpd option the original implementation of a screenshot server is now replaced by the mongoose httpd /screenshot URI which provides more features. --- src/Main/options.cxx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 9b9946e27..48efc9c50 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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 }, -- 2.39.5