From 72f14a820208b7f371a3bffa0713d44c118a9f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 12 Oct 2015 20:47:06 +0200 Subject: Apply project wide go fmt --- commands/convert.go | 4 ++-- commands/list.go | 6 +++--- commands/undraft.go | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'commands') 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 -- cgit v1.2.3