From e307407620d841cb68feab9e0cbf47533d4bfa89 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 23 Jan 2021 14:05:19 -0600 Subject: add flag to display envars --- src/slskd/Configuration.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3