Commit 7a227440 authored by Brian's avatar Brian Committed by GitHub

Merge pull request #846 from fibonacci1729/fix/issue841

fix(issue/841): capitalization and punctuation consistency.
parents becaf4ce 245b5e08
......@@ -40,7 +40,7 @@ func init() {
var createCmd = &cobra.Command{
Use: "create NAME",
Short: "Create a new chart with the given name.",
Short: "create a new chart with the given name",
Long: createDesc,
RunE: runCreate,
}
......
......@@ -22,7 +22,7 @@ var deleteCommand = &cobra.Command{
Use: "delete [flags] RELEASE_NAME",
Aliases: []string{"del"},
SuggestFor: []string{"remove", "rm"},
Short: "Given a release name, delete the release from Kubernetes",
Short: "given a release name, delete the release from Kubernetes",
Long: deleteDesc,
RunE: delRelease,
PersistentPreRunE: setupConnection,
......
......@@ -25,7 +25,7 @@ func init() {
var fetchCmd = &cobra.Command{
Use: "fetch [chart URL | repo/chartname]",
Short: "Download a chart from a repository and (optionally) unpack it in local directory.",
Short: "download a chart from a repository and (optionally) unpack it in local directory",
Long: "",
RunE: fetch,
}
......
......@@ -51,7 +51,7 @@ var errReleaseRequired = errors.New("release name is required")
var getCommand = &cobra.Command{
Use: "get [flags] RELEASE_NAME",
Short: "Download a named release",
Short: "download a named release",
Long: getHelp,
RunE: getCmd,
PersistentPreRunE: setupConnection,
......@@ -59,14 +59,14 @@ var getCommand = &cobra.Command{
var getValuesCommand = &cobra.Command{
Use: "values [flags] RELEASE_NAME",
Short: "Download the values file for a named release",
Short: "download the values file for a named release",
Long: getValuesHelp,
RunE: getValues,
}
var getManifestCommand = &cobra.Command{
Use: "manifest [flags] RELEASE_NAME",
Short: "Download the manifest for a named release",
Short: "download the manifest for a named release",
Long: getManifestHelp,
RunE: getManifest,
}
......
......@@ -11,7 +11,7 @@ any helm configuration files live.
var homeCommand = &cobra.Command{
Use: "home",
Short: "Displays the location of HELM_HOME",
Short: "displays the location of HELM_HOME",
Long: longHomeHelp,
Run: home,
}
......
......@@ -35,7 +35,7 @@ func init() {
var initCmd = &cobra.Command{
Use: "init",
Short: "Initialize Helm on both client and server.",
Short: "initialize Helm on both client and server",
Long: initDesc,
RunE: runInit,
}
......
......@@ -34,7 +34,7 @@ var (
var installCmd = &cobra.Command{
Use: "install [CHART]",
Short: "install a chart archive.",
Short: "install a chart archive",
Long: installDesc,
RunE: runInstall,
PersistentPreRunE: setupConnection,
......
......@@ -22,7 +22,7 @@ or recommendation, it will emit [WARNING] messages.
var lintCommand = &cobra.Command{
Use: "lint [flags] PATH",
Short: "Examines a chart for possible issues",
Short: "examines a chart for possible issues",
Long: longLintHelp,
RunE: lintCmd,
}
......
......@@ -38,7 +38,7 @@ flag with the '--offset' flag allows you to page through results.
var listCommand = &cobra.Command{
Use: "list [flags] [FILTER]",
Short: "List releases",
Short: "list releases",
Long: listHelp,
RunE: listCmd,
Aliases: []string{"ls"},
......
......@@ -30,7 +30,7 @@ func init() {
var packageCmd = &cobra.Command{
Use: "package [CHART_PATH]",
Short: "Package a chart directory into a chart archive.",
Short: "package a chart directory into a chart archive",
Long: packageDesc,
RunE: runPackage,
}
......
......@@ -18,7 +18,7 @@ func init() {
var searchCmd = &cobra.Command{
Use: "search [keyword]",
Short: "Search for a keyword in charts",
Short: "search for a keyword in charts",
Long: "Searches the known repositories cache files for the specified search string, looks at name and keywords",
RunE: search,
PreRunE: requireInit,
......
......@@ -17,7 +17,7 @@ func init() {
var serveCmd = &cobra.Command{
Use: "serve",
Short: "Start a local http web server",
Short: "start a local http web server",
Long: serveDesc,
Run: serve,
}
......
......@@ -15,7 +15,7 @@ This command shows the status of a named release.
var statusCommand = &cobra.Command{
Use: "status [flags] RELEASE_NAME",
Short: "Displays the status of the named release",
Short: "displays the status of the named release",
Long: statusHelp,
RunE: status,
PersistentPreRunE: setupConnection,
......
......@@ -15,7 +15,7 @@ var verboseUpdate bool
var updateCommand = &cobra.Command{
Use: "update",
Aliases: []string{"up"},
Short: "Update information on available charts in the chart repositories.",
Short: "update information on available charts in the chart repositories",
RunE: runUpdate,
}
......
......@@ -14,7 +14,7 @@ func init() {
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the client version information.",
Short: "print the client version information",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version.Version)
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment