aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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")]