diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-04 18:03:56 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-04 18:03:56 -0600 |
| commit | 795d7874532b50310bcebedf72478d414c3c0c23 (patch) | |
| tree | 8e9e64137178bf7c72bd89df1e753956c86263a2 /src | |
| parent | f562cfc7b8a8f2aaad72729a8f1df6578b32821f (diff) | |
| download | slskd-795d7874532b50310bcebedf72478d414c3c0c23.tar.gz | |
add generate-certificate
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Common/Configuration/Options.cs | 8 |
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", |
