From: bep Date: Sat, 16 May 2015 17:52:12 +0000 (+0200) Subject: Remove trailing spaces in completionfile flag X-Git-Tag: v0.14~37 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=befa26b152e79ffc47dfac5ad7e681ab948c00da;p=brevno-suite%2Fhugo Remove trailing spaces in completionfile flag --- diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go index a149f782..69e9e6f0 100644 --- a/commands/genautocomplete.go +++ b/commands/genautocomplete.go @@ -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)") }