feat(bot): tweak wording for short list flag error

This commit is contained in:
spiral 2022-09-22 19:17:43 +00:00
parent 897fad12e6
commit e525c2da63
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -178,7 +178,7 @@ public static class ListOptionsExt
public static void AssertIsValid(this ListOptions opts) public static void AssertIsValid(this ListOptions opts)
{ {
if (opts.Type == ListType.Short && opts.includedCount > 1) if (opts.Type == ListType.Short && opts.includedCount > 1)
throw new PKError("The short list does not support showing items from multiple flags. Try using the full list instead."); throw new PKError("The short list does not support showing information from multiple flags. Try using the full list instead.");
// the check for multiple *sorting* property flags is done in SortProperty setter // the check for multiple *sorting* property flags is done in SortProperty setter
} }