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/new.go | |
parent | 8fbec5993034bb63d3583d26dfed973d8045d492 (diff) |
commands: Make first letter of flags' usage lowercase
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/new.go b/commands/new.go index 2fa308ed6..a1a2e098c 100644 --- a/commands/new.go +++ b/commands/new.go @@ -41,9 +41,9 @@ var ( func init() { newSiteCmd.Flags().StringVarP(&configFormat, "format", "f", "toml", "config & frontmatter format") - newSiteCmd.Flags().Bool("force", false, "Init inside non-empty directory") + newSiteCmd.Flags().Bool("force", false, "init inside non-empty directory") newCmd.Flags().StringVarP(&configFormat, "format", "f", "toml", "frontmatter format") - newCmd.Flags().StringVarP(&contentType, "kind", "k", "", "Content type to create") + newCmd.Flags().StringVarP(&contentType, "kind", "k", "", "content type to create") newCmd.PersistentFlags().StringVarP(&source, "source", "s", "", "filesystem path to read files relative from") newCmd.PersistentFlags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) newCmd.Flags().StringVar(&contentEditor, "editor", "", "edit new content with this editor, if provided") |