aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-28 17:39:19 -0600
committerGitHub <noreply@github.com>2021-11-28 17:39:19 -0600
commitd89f605a2b0b8a453b4a1a92d32373a138929873 (patch)
treec3530afd409e44d10d728bf899a35457f885094d /src/slskd/Options.cs
parent735e7c6d0ac5a90762b46cf94d36334656bdc3f2 (diff)
parent7ef6d517be16672ee8854e2b79d5bf7438068f5a (diff)
downloadslskd-d89f605a2b0b8a453b4a1a92d32373a138929873.tar.gz
Merge pull request #285 from slskd/remote-config
Default remote configuration to true
Diffstat (limited to 'src/slskd/Options.cs')
-rw-r--r--src/slskd/Options.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 4a9df941..e85b3a10 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -180,10 +180,10 @@ namespace slskd
/// <summary>
/// Gets a value indicating whether remote configuration of options is allowed.
/// </summary>
- [Argument(default, "remote-configuration")]
- [EnvironmentVariable("REMOTE_CONFIGURATION")]
- [Description("allow remote configuration")]
- public bool RemoteConfiguration { get; private set; } = false;
+ [Argument(default, "no-remote-configuration")]
+ [EnvironmentVariable("NO_REMOTE_CONFIGURATION")]
+ [Description("do not allow remote configuration")]
+ public bool NoRemoteConfiguration { get; private set; } = false;
/// <summary>
/// Gets the unique name for this instance.