core: remove unused cli argument -j (ProxyConnection). resolves #9467 (#10608)

This commit is contained in:
Diego Heras 2020-12-22 18:37:16 +01:00 committed by GitHub
parent 63b20c1aa7
commit edce56f363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 15 deletions

View File

@ -737,9 +737,6 @@ To use it, please just request a free API key on [OMDb](http://www.omdbapi.com/a
- `-c, --UseClient` Override web client selection.
[automatic(Default)/httpclient/httpclient2]
- `-j, --ProxyConnection` use proxy - e.g. 127.0.0.1:8888
- `-x, --ListenPublic` Listen publicly
- `-z, --ListenPrivate` Only allow local access

View File

@ -23,9 +23,6 @@ namespace Jackett.Common.Models.Config
[Option('c', "UseClient", HelpText = "Override web client selection. [automatic(Default)/httpclient/httpclient2]")]
public string Client { get; set; }
[Option('j', "ProxyConnection", HelpText = "use proxy - e.g. 127.0.0.1:8888")]
public string ProxyConnection { get; set; }
[Option('s', "Start", HelpText = "Start the Jacket Windows service (Must be admin)")]
public bool StartService { get; set; }
@ -82,10 +79,6 @@ namespace Jackett.Common.Models.Config
if (options.Client != null)
runtimeSettings.ClientOverride = options.Client.ToLowerInvariant();
// Use Proxy
if (options.ProxyConnection != null)
runtimeSettings.ProxyConnection = options.ProxyConnection.ToLowerInvariant();
// Ignore SSL errors on Curl
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;

View File

@ -11,8 +11,6 @@ namespace Jackett.Common.Models.Config
public string ClientOverride { get; set; }
public string ProxyConnection { get; set; }
public bool? IgnoreSslErrors { get; set; }
public string CustomDataFolder { get; set; }

View File

@ -28,9 +28,6 @@ namespace Jackett.Server
if (!string.IsNullOrWhiteSpace(runtimeSettings.CustomDataFolder))
logger.Info("Jackett Data will be stored in: " + runtimeSettings.CustomDataFolder);
if (runtimeSettings.ProxyConnection != null)
logger.Info("Proxy enabled: " + runtimeSettings.ProxyConnection);
}
public static void ProcessWindowsSpecificArgs(ConsoleOptions consoleOptions, IProcessService processService, ServerConfig serverConfig, Logger logger)