aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-11 18:32:43 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-11-11 18:32:43 -0600
commitb810069274d04ab488b92f1b8bcd78a6e2aa80aa (patch)
treee5277cb5ddddcbd904f01be4125b0a27364e19de /src
parent90ba9a27a1997bdf53f5f73a891c1a642796ab7e (diff)
downloadslskd-b810069274d04ab488b92f1b8bcd78a6e2aa80aa.tar.gz
add RemoteConfiguration option
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Options.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 71c341e9..2d9bcc1e 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -178,6 +178,14 @@ namespace slskd
public bool NoVersionCheck { get; private set; } = false;
/// <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;
+
+ /// <summary>
/// Gets the unique name for this instance.
/// </summary>
[Argument('i', "instance-name")]