diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-03-01 18:10:55 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-03-01 18:10:55 -0600 |
| commit | d56505cb9528ef5b950c9a2e0ed99555ed23e201 (patch) | |
| tree | 4b50101e93f383da91200502c518206dd86802a9 /src/slskd/Core | |
| parent | 82607d9bec665ae7497f5b86941985b3034647e2 (diff) | |
| download | slskd-d56505cb9528ef5b950c9a2e0ed99555ed23e201.tar.gz | |
ArgsList -> Arglist
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 5c9c756c..266d04aa 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -2179,7 +2179,7 @@ namespace slskd /// Gets the arguments to pass to the executable. /// </summary> /// <remarks> - /// Mutually exclusive with <see cref="ArgsList"/>. + /// Mutually exclusive with <see cref="Arglist"/>. /// </remarks> public string Args { get; init; } @@ -2189,7 +2189,7 @@ namespace slskd /// <remarks> /// Mutually exclusive with <see cref="Args"/>. /// </remarks> - public string[] ArgsList { get; init; } = null; + public string[] Arglist { get; init; } = null; public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) { @@ -2202,11 +2202,11 @@ namespace slskd } var argsIsSet = !string.IsNullOrWhiteSpace(Args); - var argsListIsSet = ArgsList is not null; + var argsListIsSet = Arglist is not null; if (argsIsSet && argsListIsSet) { - yield return new ValidationResult($"Only one of the fields {nameof(Args)} or {nameof(ArgsList)} may be specified for a single script. Specify 'args' if you intend to construct a single quoted string yourself, and specify 'args_list' if you'd like slskd to handle quoting for you."); + yield return new ValidationResult($"Only one of the fields {nameof(Args)} or {nameof(Arglist)} may be specified for a single script. Specify 'args' if you intend to construct a single quoted string yourself, and specify 'args_list' if you'd like slskd to handle quoting for you."); } } } |
