From c82978b4ada261479c52666f0b786f525e260f7d Mon Sep 17 00:00:00 2001 From: Jay Dhulia <46459060+jaydhulia@users.noreply.github.com> Date: Mon, 6 Dec 2021 16:05:01 -0700 Subject: [PATCH] Remove dup shorthand flag (#109) --- cmd/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/list.go b/cmd/list.go index 4e2bae8..dd49ce5 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -33,7 +33,7 @@ func init() { listCmd.PersistentFlags().BoolVarP(&extendedInfo, "extended-info", "e", false, "include additional information about roles such as associated apps") listCmd.PersistentFlags().BoolVarP(&shortInfo, "short-info", "s", false, "only display the role ARNs") listCmd.PersistentFlags().StringVarP(&accountFilter, "account", "a", "", "filter by aws account number or account name") - listCmd.PersistentFlags().BoolVarP(&showAll, "all", "A", true, "show all available roles (default option)") + listCmd.PersistentFlags().BoolVar(&showAll, "all", true, "show all available roles (default option)") listCmd.PersistentFlags().BoolVarP(&showInstanceProfilesOnly, "instance", "i", false, "show only instance roles") listCmd.PersistentFlags().BoolVarP(&showConfiguredProfilesOnly, "profiles", "p", false, "show only configured roles") rootCmd.AddCommand(listCmd)