aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-04 18:03:56 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-04 18:03:56 -0600
commit795d7874532b50310bcebedf72478d414c3c0c23 (patch)
tree8e9e64137178bf7c72bd89df1e753956c86263a2 /src
parentf562cfc7b8a8f2aaad72729a8f1df6578b32821f (diff)
downloadslskd-795d7874532b50310bcebedf72478d414c3c0c23.tar.gz
add generate-certificate
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Common/Configuration/Options.cs8
1 files changed, 8 insertions, 0 deletions
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
@@ -158,6 +158,14 @@
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",
EnvironmentVariable: "DEBUG",