diff options
author | Albert Nigmatzianov <albertnigma@gmail.com> | 2017-04-26 21:58:10 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-26 22:23:20 +0200 |
commit | f0f69d03c551acb8ac2eeedaad579cf0b596f9ef (patch) | |
tree | 542b5f1362a26c463925395bbaa9e49a170c429e /commands/genautocomplete.go | |
parent | 8fbec5993034bb63d3583d26dfed973d8045d492 (diff) |
commands: Make first letter of flags' usage lowercase
Diffstat (limited to 'commands/genautocomplete.go')
-rw-r--r-- | commands/genautocomplete.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go index e49064467..c2004ab22 100644 --- a/commands/genautocomplete.go +++ b/commands/genautocomplete.go @@ -62,8 +62,8 @@ or just source them in directly: } func init() { - 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(&autocompleteTarget, "completionfile", "", "/etc/bash_completion.d/hugo.sh", "autocompletion file") + genautocompleteCmd.PersistentFlags().StringVarP(&autocompleteType, "type", "", "bash", "autocompletion type (currently only bash supported)") // For bash-completion genautocompleteCmd.PersistentFlags().SetAnnotation("completionfile", cobra.BashCompFilenameExt, []string{}) |