From 3aa1818870eee2cf5bfe23b22e168d1b714b307d Mon Sep 17 00:00:00 2001 From: weetmuts Date: Sat, 2 Feb 2019 20:44:26 +0100 Subject: [PATCH] listremotes: remove `-l` short flag as it conflicts with the new global flag --- cmd/listremotes/listremotes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/listremotes/listremotes.go b/cmd/listremotes/listremotes.go index 6ecb9f107..c62880454 100644 --- a/cmd/listremotes/listremotes.go +++ b/cmd/listremotes/listremotes.go @@ -16,7 +16,7 @@ var ( func init() { cmd.Root.AddCommand(commandDefintion) - commandDefintion.Flags().BoolVarP(&listLong, "long", "l", listLong, "Show the type as well as names.") + commandDefintion.Flags().BoolVarP(&listLong, "long", "", listLong, "Show the type as well as names.") } var commandDefintion = &cobra.Command{