From cb731b898346822cc0c225c28550a8a29d93c732 Mon Sep 17 00:00:00 2001 From: Tom Elliott Date: Mon, 14 Aug 2017 22:24:12 -0400 Subject: [PATCH] Specify that parent's name is a variable for clarity. #514 --- cobra/cmd/add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/cmd/add.go b/cobra/cmd/add.go index 30f8366..993ae16 100644 --- a/cobra/cmd/add.go +++ b/cobra/cmd/add.go @@ -24,7 +24,7 @@ import ( func init() { addCmd.Flags().StringVarP(&packageName, "package", "t", "", "target package name (e.g. github.com/spf13/hugo)") - addCmd.Flags().StringVarP(&parentName, "parent", "p", "RootCmd", "name of parent command for this command") + addCmd.Flags().StringVarP(&parentName, "parent", "p", "RootCmd", "variable name of parent command for this command") } var packageName, parentName string