Regularize the command definition names

This commit is contained in:
Nick Craig-Wood
2016-10-22 12:05:45 +01:00
parent 05798672c8
commit 5e35aeca9e
25 changed files with 67 additions and 67 deletions

View File

@@ -15,11 +15,11 @@ var (
)
func init() {
cmd.Root.AddCommand(listremotesCmd)
listremotesCmd.Flags().BoolVarP(&listLong, "long", "l", listLong, "Show the type as well as names.")
cmd.Root.AddCommand(commandDefintion)
commandDefintion.Flags().BoolVarP(&listLong, "long", "l", listLong, "Show the type as well as names.")
}
var listremotesCmd = &cobra.Command{
var commandDefintion = &cobra.Command{
Use: "listremotes",
Short: `List all the remotes in the config file.`,
Long: `