mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Fix RootCmd var name
'rootCmd' should be 'RootCmd'.
This commit is contained in:
parent
d638dcb7c7
commit
f9d34972c1
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ func init() {
|
|||
}
|
||||
|
||||
func Execute() {
|
||||
rootCmd.Execute()
|
||||
RootCmd.Execute()
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in a new issue