Remove trailing spaces in completionfile flag
authorbep <bjorn.erik.pedersen@gmail.com>
Sat, 16 May 2015 17:52:12 +0000 (19:52 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Sat, 16 May 2015 17:52:09 +0000 (19:52 +0200)
commands/genautocomplete.go

index a149f7828818d8388038b30095fada48900aaa67..69e9e6f0fc7b6deeafbd0c032660f11bc4ee7736 100644 (file)
@@ -39,7 +39,7 @@ var genautocompleteCmd = &cobra.Command{
 }
 
 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)")
 
 }