diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-10-12 20:47:06 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-10-12 20:47:06 +0200 |
commit | 72f14a820208b7f371a3bffa0713d44c118a9f17 (patch) | |
tree | a02383225960567b00f093f4b2395aa93da6119a /commands | |
parent | c274e21356826a6aa1e04d875a37838a6fe1a6c6 (diff) |
Apply project wide go fmt
Diffstat (limited to 'commands')
-rw-r--r-- | commands/convert.go | 4 | ||||
-rw-r--r-- | commands/list.go | 6 | ||||
-rw-r--r-- | commands/undraft.go | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/commands/convert.go b/commands/convert.go index 188ab7a72..b9578a81d 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -33,10 +33,10 @@ var unsafe bool var convertCmd = &cobra.Command{ Use: "convert", Short: "Convert your content to different formats", - Long: `Convert your content (e.g. front matter) to different formats. + Long: `Convert your content (e.g. front matter) to different formats. See convert's subcommands toJSON, toTOML and toYAML for more information.`, - Run: nil, + Run: nil, } var toJSONCmd = &cobra.Command{ diff --git a/commands/list.go b/commands/list.go index 7499080b1..64650f40c 100644 --- a/commands/list.go +++ b/commands/list.go @@ -30,10 +30,10 @@ func init() { var listCmd = &cobra.Command{ Use: "list", Short: "Listing out various types of content", - Long: `Listing out various types of content. + Long: `Listing out various types of content. List requires a subcommand, e.g. ` + "`hugo list drafts`.", - Run: nil, + Run: nil, } var listDraftsCmd = &cobra.Command{ @@ -64,7 +64,7 @@ var listDraftsCmd = &cobra.Command{ var listFutureCmd = &cobra.Command{ Use: "future", Short: "List all posts dated in the future", - Long: `List all of the posts in your content directory which will be + Long: `List all of the posts in your content directory which will be posted in the future.`, Run: func(cmd *cobra.Command, args []string) { diff --git a/commands/undraft.go b/commands/undraft.go index f10728d82..36184060c 100644 --- a/commands/undraft.go +++ b/commands/undraft.go @@ -26,10 +26,10 @@ import ( var undraftCmd = &cobra.Command{ Use: "undraft path/to/content", Short: "Undraft changes the content's draft status from 'True' to 'False'", - Long: `Undraft changes the content's draft status from 'True' to 'False' + Long: `Undraft changes the content's draft status from 'True' to 'False' and updates the date to the current date and time. If the content's draft status is 'False', nothing is done.`, - Run: Undraft, + Run: Undraft, } // Publish publishes the specified content by setting its draft status |