This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new 075b725  chore(doc): use imperative in command description
075b725 is described below

commit 075b725cbd565f017b1791b36aad026b115b1f83
Author: nicolaferraro <[email protected]>
AuthorDate: Thu Nov 12 23:27:28 2020 +0100

    chore(doc): use imperative in command description
---
 pkg/cmd/completion.go | 2 +-
 pkg/cmd/install.go    | 6 +++---
 pkg/cmd/run.go        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pkg/cmd/completion.go b/pkg/cmd/completion.go
index e26444d..a8f1279 100644
--- a/pkg/cmd/completion.go
+++ b/pkg/cmd/completion.go
@@ -24,7 +24,7 @@ import (
 func newCmdCompletion(root *cobra.Command) *cobra.Command {
        completion := cobra.Command{
                Use:   "completion",
-               Short: "Generates completion scripts",
+               Short: "Generate completion scripts",
        }
 
        completion.AddCommand(newCmdCompletionBash(root))
diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index 4f43f2f..403b5d8 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -52,8 +52,8 @@ func newCmdInstall(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *installCmdO
        }
        cmd := cobra.Command{
                Use:     "install",
-               Short:   "Installs Camel K on a Kubernetes cluster",
-               Long:    `Installs Camel K on a Kubernetes or OpenShift 
cluster.`,
+               Short:   "Install Camel K on a Kubernetes cluster",
+               Long:    `Install Camel K on a Kubernetes or OpenShift 
cluster.`,
                PreRunE: options.decode,
                RunE: func(cmd *cobra.Command, args []string) error {
                        if err := options.validate(cmd, args); err != nil {
@@ -70,7 +70,7 @@ func newCmdInstall(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *installCmdO
                PostRunE: options.postRun,
        }
 
-       cmd.Flags().BoolP("wait", "w", false, "Waits for the platform to be 
running")
+       cmd.Flags().BoolP("wait", "w", false, "Wait for the platform to be 
running")
        cmd.Flags().Bool("cluster-setup", false, "Execute cluster-wide 
operations only (may require admin rights)")
        cmd.Flags().String("cluster-type", "", "Set explicitly the cluster type 
to Kubernetes or OpenShift")
        cmd.Flags().Bool("skip-operator-setup", false, "Do not install the 
operator in the namespace (in case there's a global one)")
diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index c515e77..e484d39 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -73,7 +73,7 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *runCmdOptions)
 
        cmd.Flags().String("name", "", "The integration name")
        cmd.Flags().StringArrayP("dependency", "d", nil, "An external library 
that should be included. E.g. for Maven dependencies \"mvn:org.my/app:1.0\"")
-       cmd.Flags().BoolP("wait", "w", false, "Waits for the integration to be 
running")
+       cmd.Flags().BoolP("wait", "w", false, "Wait for the integration to be 
running")
        cmd.Flags().StringP("kit", "k", "", "The kit used to run the 
integration")
        cmd.Flags().StringArrayP("property", "p", nil, "Add a camel property")
        cmd.Flags().StringArray("configmap", nil, "Add a ConfigMap")

Reply via email to