diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-06-02 15:06:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-02 15:06:41 -0500 |
| commit | 6fd5e36e367c7d8fbeac7662dacb24f8497931c2 (patch) | |
| tree | 1b6c017ee955a0081a92e4934540041601c1596e /src/slskd/Core/Options.cs | |
| parent | a783e181982dd8c435bb51345a8528a65a4304ac (diff) | |
| parent | ec31fd53e8cf91adbeae6bb20958e9c8ef85e56c (diff) | |
| download | slskd-6fd5e36e367c7d8fbeac7662dacb24f8497931c2.tar.gz | |
Merge branch 'master' into master
Diffstat (limited to 'src/slskd/Core/Options.cs')
| -rw-r--r-- | src/slskd/Core/Options.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 1b049ae1..05174031 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -744,7 +744,7 @@ namespace slskd bool IsBlankPath(string share) => Regex.IsMatch(share.LocalizePath(), @"^(!|-){0,1}(\[.*\])$"); directories?.Where(share => IsBlankPath(share)).ToList() - .ForEach(blank => results.Add(new ValidationResult($"Share {blank} doees not specify a path"))); + .ForEach(blank => results.Add(new ValidationResult($"Share {blank} does not specify a path"))); bool IsRootMount(string share) => Regex.IsMatch(share.LocalizePath(), @"^(!|-){0,1}(\[.*\])/$"); directories?.Where(share => IsRootMount(share)).ToList() @@ -1289,11 +1289,11 @@ namespace slskd /// <summary> /// Gets a value indicating whether to write logs to disk. /// </summary> - [Argument(default, "no-disk-logger")] - [EnvironmentVariable("NO_DISK_LOGGER")] - [Description("disable logging to disk")] + [Argument(default, "disk-logger")] + [EnvironmentVariable("DISK_LOGGER")] + [Description("enable logging to disk")] [RequiresRestart] - public bool Disk { get; init; } = true; + public bool Disk { get; init; } = false; } /// <summary> |
