aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
authorinalone <60921914+inalone@users.noreply.github.com>2022-11-13 01:04:45 +0000
committerGitHub <noreply@github.com>2022-11-13 01:04:45 +0000
commit5a26bb4939251468d704c13de4bfa638fa403754 (patch)
treeac03b7c55cffb75d4e1a413b98ebff41367e88ae /src/slskd/Core
parenta17d6a9210a0714d91f9f5ccb108886053889137 (diff)
parent78773f10540fe74f28b1161a2621a3a36af76046 (diff)
downloadslskd-5a26bb4939251468d704c13de4bfa638fa403754.tar.gz
Merge branch 'master' into download-folder-modal
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index e273229f..a64d5875 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -151,15 +151,6 @@ 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")]
@@ -372,6 +363,24 @@ namespace slskd
[Description("log SQL queries generated by Entity Framework")]
[RequiresRestart]
public bool LogSQL { get; init; } = false;
+
+ /// <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 the application should run in volatile mode.
+ /// </summary>
+ [Argument(default, "volatile")]
+ [EnvironmentVariable("VOLATILE")]
+ [Description("use volatile data storage (all data will be lost at shutdown)")]
+ [RequiresRestart]
+ public bool Volatile { get; init; } = false;
}
/// <summary>