aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-08 08:31:37 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-08 08:31:37 -0600
commit1670e114168c69f530d6e397a756177f90662bc5 (patch)
tree8ba69109f51924ebfae8e45fa786518ae14918ae /src
parente4a68f8cf75fbe8d00f05b710b4830f9d756e6e2 (diff)
downloadslskd-1670e114168c69f530d6e397a756177f90662bc5.tar.gz
move config option
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Options.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 4ebc8bdc..b48853ef 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -189,6 +189,14 @@
Default: false,
Description: "generate X509 certificate and password for HTTPs"),
new(
+ ShortName: 'c',
+ LongName: "config",
+ EnvironmentVariable: "CONFIG",
+ Key: null,
+ Type: typeof(string),
+ Default: Program.DefaultConfigurationFile,
+ Description: "path to configuration file"),
+ new(
ShortName: 'd',
LongName: "debug",
EnvironmentVariable: "DEBUG",
@@ -205,14 +213,6 @@
Default: Defaults.NoLogo,
Description: "suppress logo on startup"),
new(
- ShortName: 'c',
- LongName: "config",
- EnvironmentVariable: "CONFIG",
- Key: null,
- Type: typeof(string),
- Default: Program.DefaultConfigurationFile,
- Description: "path to configuration file"),
- new(
ShortName: 'i',
LongName: "instance-name",
EnvironmentVariable: "INSTANCE_NAME",