From befa26b152e79ffc47dfac5ad7e681ab948c00da Mon Sep 17 00:00:00 2001 From: bep Date: Sat, 16 May 2015 19:52:12 +0200 Subject: [PATCH] Remove trailing spaces in completionfile flag --- commands/genautocomplete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go index a149f7828..69e9e6f0f 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)") }