From d35075eba13d0a8408191e59037f2834d015cbd5 Mon Sep 17 00:00:00 2001 From: Cory Knox Date: Mon, 20 Mar 2023 10:12:11 -0700 Subject: [PATCH] (#158) Add all possible unsupported permutations When the list of unsupported arguments was created, we missed adding the single-dash variants to the list as well as the double-dash variants. --- .../infrastructure.app/commands/ChocolateyListCommand.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs index 8c41bbbddd..f60298394a 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs @@ -36,13 +36,21 @@ public class ChocolateyListCommand : IListCommand { "-l", "-lo", + "--lo", + "-local", "--local", + "-localonly", "--localonly", + "-local-only", "--local-only", "-a", + "-all", "--all", + "-allversions", "--allversions", + "-all-versions", "--all-versions", + "-order-by-popularity", "--order-by-popularity" };