From 9a8307a38a3a15d09ad87c8ba359a08674a1bb37 Mon Sep 17 00:00:00 2001 From: Krisztian Goedrei Date: Wed, 22 Jul 2015 12:29:43 +0200 Subject: [PATCH 1/3] help messages --- cli/commands.go | 8 ++++---- cli/flags.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/commands.go b/cli/commands.go index 4b8b0235..64c4347b 100644 --- a/cli/commands.go +++ b/cli/commands.go @@ -7,7 +7,7 @@ var ( { Name: "setup", ShortName: "s", - Usage: "", + Usage: "Setup initialize the specified collection, it's required befor using a collection.", Action: setup, Flags: []cli.Flag{ flCollection, @@ -16,7 +16,7 @@ var ( { Name: "update", ShortName: "u", - Usage: "", + Usage: "Updates the collection, if no --collection flag provided, all collections will updated.", Action: update, Flags: []cli.Flag{ flCollection, @@ -25,7 +25,7 @@ var ( { Name: "download", ShortName: "d", - Usage: "", + Usage: "Downloads the step wit provided --id, and --version, from specified --collection into local step cache. If no --version defined, the latest version of step will be cached.", Action: download, Flags: []cli.Flag{ flCollection, @@ -36,7 +36,7 @@ var ( { Name: "activate", ShortName: "a", - Usage: "", + Usage: "Copies the step with specified --id, and --version, into provided path. If --version flag is unset, the latest version of step will be used. If --copyyml flag is set, step.yml will copied into given path.", Action: activate, Flags: []cli.Flag{ flCollection, diff --git a/cli/flags.go b/cli/flags.go index 510ef4bc..552deabf 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -84,7 +84,7 @@ var ( flCopyYML = cli.StringFlag{ Name: CopyYMLKey + ", " + copyYMLKeyShort, Value: "", - Usage: "", + Usage: "Path where the stp.yml will copied.", } ) From 4946d92e1ae3e29bbfd199fb6edd57ad8a26ca20 Mon Sep 17 00:00:00 2001 From: Krisztian Goedrei Date: Wed, 22 Jul 2015 12:32:05 +0200 Subject: [PATCH 2/3] typo --- cli/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/flags.go b/cli/flags.go index 552deabf..1ba9b5bb 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -84,7 +84,7 @@ var ( flCopyYML = cli.StringFlag{ Name: CopyYMLKey + ", " + copyYMLKeyShort, Value: "", - Usage: "Path where the stp.yml will copied.", + Usage: "Path where the step.yml will copied.", } ) From 8c4a42945f890d51506221efedbda220734640de Mon Sep 17 00:00:00 2001 From: Krisztian Goedrei Date: Wed, 22 Jul 2015 15:42:43 +0200 Subject: [PATCH 3/3] message fixes --- cli/commands.go | 8 ++++---- cli/flags.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/commands.go b/cli/commands.go index 64c4347b..e0983930 100644 --- a/cli/commands.go +++ b/cli/commands.go @@ -7,7 +7,7 @@ var ( { Name: "setup", ShortName: "s", - Usage: "Setup initialize the specified collection, it's required befor using a collection.", + Usage: "Initialize the specified collection, it's required before using a collection.", Action: setup, Flags: []cli.Flag{ flCollection, @@ -16,7 +16,7 @@ var ( { Name: "update", ShortName: "u", - Usage: "Updates the collection, if no --collection flag provided, all collections will updated.", + Usage: "Update the collection, if no --collection flag provided, all collections will updated.", Action: update, Flags: []cli.Flag{ flCollection, @@ -25,7 +25,7 @@ var ( { Name: "download", ShortName: "d", - Usage: "Downloads the step wit provided --id, and --version, from specified --collection into local step cache. If no --version defined, the latest version of step will be cached.", + Usage: "Download the step with provided --id and --version, from specified --collection, into local step downloads cache. If no --version defined, the latest version of the step (latest found in the collection) will be downloaded into the cache.", Action: download, Flags: []cli.Flag{ flCollection, @@ -36,7 +36,7 @@ var ( { Name: "activate", ShortName: "a", - Usage: "Copies the step with specified --id, and --version, into provided path. If --version flag is unset, the latest version of step will be used. If --copyyml flag is set, step.yml will copied into given path.", + Usage: "Copy the step with specified --id, and --version, into provided path. If --version flag is not set, the latest version of the step will be used. If --copyyml flag is set, step.yml will be copied to the given path.", Action: activate, Flags: []cli.Flag{ flCollection, diff --git a/cli/flags.go b/cli/flags.go index 1ba9b5bb..e19b1988 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -84,7 +84,7 @@ var ( flCopyYML = cli.StringFlag{ Name: CopyYMLKey + ", " + copyYMLKeyShort, Value: "", - Usage: "Path where the step.yml will copied.", + Usage: "Path where the selected/activated step's step.yml will be copied.", } )