Skip to content

Commit

Permalink
Remove dup shorthand flag (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydhulia authored Dec 6, 2021
1 parent 818a107 commit c82978b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c82978b

Please sign in to comment.