Cobra package update broke something
This commit is contained in:
parent
20ce662a67
commit
7545343e0d
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -68,7 +68,7 @@ func main() {
|
|||
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
if e, ok := err.(commandFailure); ok {
|
||||
rootCmd.Help()
|
||||
rootCmd.HelpFunc()
|
||||
fmt.Printf("\n%s\n", string(e))
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue