diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-08-18 22:47:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 22:47:21 -0500 |
| commit | f2b1461fa4ddf746752045ac098866c247f2e094 (patch) | |
| tree | 6427b81079cd359d6f59197500cbbf73e4969348 /src/slskd/Core | |
| parent | dc0741f85f2d66576eeb4cff7b0d6534572c8934 (diff) | |
| parent | 6e31ab6d33a13960289e0c58c3364e4c41d9140d (diff) | |
| download | slskd-f2b1461fa4ddf746752045ac098866c247f2e094.tar.gz | |
Merge pull request #602 from slskd/bugs
Attempt to make transfer records even more deterministic
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index a1db929a..3ce620c1 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -136,6 +136,15 @@ namespace slskd public bool Debug { get; init; } = Debugger.IsAttached; /// <summary> + /// Gets a value indicating whether the application should run in experimental mode. + /// </summary> + [Argument(default, "experimental")] + [EnvironmentVariable("EXPERIMENTAL")] + [Description("run in experimental mode")] + [RequiresRestart] + public bool Experimental { get; init; } = false; + + /// <summary> /// Gets a value indicating whether remote configuration of options is allowed. /// </summary> [Argument(default, "remote-configuration")] |
