diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-23 14:05:19 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-01-23 14:05:19 -0600 |
| commit | e307407620d841cb68feab9e0cbf47533d4bfa89 (patch) | |
| tree | d9479ff74622f200931bf9ea8961248abcb808b5 | |
| parent | e9108aa3e747cd5798a4768e7cf9c5aa65d53395 (diff) | |
| download | slskd-e307407620d841cb68feab9e0cbf47533d4bfa89.tar.gz | |
add flag to display envars
| -rw-r--r-- | src/slskd/Configuration.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/slskd/Configuration.cs b/src/slskd/Configuration.cs index da7ccf48..c09896a5 100644 --- a/src/slskd/Configuration.cs +++ b/src/slskd/Configuration.cs @@ -28,7 +28,14 @@ EnvironmentVariable: null, Type: typeof(bool), Key: null, - Description: "print usage"), + Description: "display command line usage"), + new( + ShortName: 'e', + LongName: "envars", + EnvironmentVariable: null, + Type: typeof(bool), + Key: null, + Description: "display environment variables"), new( ShortName: 'd', LongName: "debug", @@ -122,10 +129,8 @@ Description: "the password for the Soulseek network") }; - public class slskd + public class Program { - public bool ShowHelp { get; private set; } = false; - public bool ShowVersion { get; private set; } = false; public bool Debug { get; private set; } = false; public bool NoLogo { get; private set; } = false; public bool NoAuth { get; private set; } = false; |
