From 795d7874532b50310bcebedf72478d414c3c0c23 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 4 Feb 2021 18:03:56 -0600 Subject: add generate-certificate --- src/slskd/Common/Configuration/Options.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/slskd/Common/Configuration/Options.cs b/src/slskd/Common/Configuration/Options.cs index f10bd5a3..19300f1f 100644 --- a/src/slskd/Common/Configuration/Options.cs +++ b/src/slskd/Common/Configuration/Options.cs @@ -157,6 +157,14 @@ Type: typeof(bool), Default: false, Description: "display environment variables"), + new( + ShortName: 'g', + LongName: "generate-certificate", + EnvironmentVariable: null, + Key: null, + Type: typeof(bool), + Default: false, + Description: "generate X509 certificate and password for HTTPs"), new( ShortName: 'd', LongName: "debug", -- cgit v1.2.3