aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
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>