diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-11 18:32:43 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-11-11 18:32:43 -0600 |
| commit | b810069274d04ab488b92f1b8bcd78a6e2aa80aa (patch) | |
| tree | e5277cb5ddddcbd904f01be4125b0a27364e19de /src | |
| parent | 90ba9a27a1997bdf53f5f73a891c1a642796ab7e (diff) | |
| download | slskd-b810069274d04ab488b92f1b8bcd78a6e2aa80aa.tar.gz | |
add RemoteConfiguration option
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Options.cs | 8 |
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")] |
