Remove trailing spaces in completionfile flag

This commit is contained in:
bep 2015-05-16 19:52:12 +02:00
parent be1bac9ff4
commit befa26b152

View file

@ -39,7 +39,7 @@ var genautocompleteCmd = &cobra.Command{
} }
func init() { func init() {
genautocompleteCmd.PersistentFlags().StringVarP(&autocompleteTarget, "completionfile ", "", "/etc/bash_completion.d/hugo.sh", "Autocompletion file") genautocompleteCmd.PersistentFlags().StringVarP(&autocompleteTarget, "completionfile", "", "/etc/bash_completion.d/hugo.sh", "Autocompletion file")
genautocompleteCmd.PersistentFlags().StringVarP(&autocompleteType, "type", "", "bash", "Autocompletion type (currently only bash supported)") genautocompleteCmd.PersistentFlags().StringVarP(&autocompleteType, "type", "", "bash", "Autocompletion type (currently only bash supported)")
} }