Merge pull request #800 from cdrage/fix-help-putput

Fixes output of help template
This commit is contained in:
Shubham 2017-08-29 12:05:51 +05:30 committed by GitHub
commit 31765588ae

View File

@ -169,7 +169,7 @@ Additional help topics:{{range .Commands}}{{if .IsHelpCommand}}
Use "{{.CommandPath}} [command] --help" for more information about a command.{{end}}
`
// Set the help template + add the command to root
convertCmd.SetHelpTemplate(customHelp)
convertCmd.SetUsageTemplate(customHelp)
RootCmd.AddCommand(convertCmd)
}