projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1bac9
)
Remove trailing spaces in completionfile flag
author
bep
<bjorn.erik.pedersen@gmail.com>
Sat, 16 May 2015 17:52:12 +0000
(19:52 +0200)
committer
bep
<bjorn.erik.pedersen@gmail.com>
Sat, 16 May 2015 17:52:09 +0000
(19:52 +0200)
commands/genautocomplete.go
patch
|
blob
|
history
diff --git
a/commands/genautocomplete.go
b/commands/genautocomplete.go
index a149f7828818d8388038b30095fada48900aaa67..69e9e6f0fc7b6deeafbd0c032660f11bc4ee7736 100644
(file)
--- 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)")
}