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
4 changed files with 0 additions and 15 deletions

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;