mirror of https://github.com/knative/client.git
Fixes typo in the kn help command (#24)
s/blokcs/blocks and removes few unneeded dots (.)
This commit is contained in:
parent
e6699b9b54
commit
139db6c4f9
|
|
@ -21,7 +21,7 @@ import (
|
||||||
func NewRevisionCommand(p *KnParams) *cobra.Command {
|
func NewRevisionCommand(p *KnParams) *cobra.Command {
|
||||||
revisionCmd := &cobra.Command{
|
revisionCmd := &cobra.Command{
|
||||||
Use: "revision",
|
Use: "revision",
|
||||||
Short: "Revision command group.",
|
Short: "Revision command group",
|
||||||
}
|
}
|
||||||
revisionCmd.PersistentFlags().StringP("namespace", "n", "default", "Namespace to use.")
|
revisionCmd.PersistentFlags().StringP("namespace", "n", "default", "Namespace to use.")
|
||||||
revisionCmd.AddCommand(NewRevisionListCommand(p))
|
revisionCmd.AddCommand(NewRevisionListCommand(p))
|
||||||
|
|
|
||||||
|
|
@ -58,8 +58,8 @@ func NewKnCommand(params ...KnParams) *cobra.Command {
|
||||||
|
|
||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
Use: "kn",
|
Use: "kn",
|
||||||
Short: "Knative client.",
|
Short: "Knative client",
|
||||||
Long: `Manage your Knative building blokcs:
|
Long: `Manage your Knative building blocks:
|
||||||
|
|
||||||
Serving: Manage your services and release new software to them.
|
Serving: Manage your services and release new software to them.
|
||||||
Build: Create builds and keep track of their results.
|
Build: Create builds and keep track of their results.
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ import (
|
||||||
func NewServiceCommand(p *KnParams) *cobra.Command {
|
func NewServiceCommand(p *KnParams) *cobra.Command {
|
||||||
serviceCmd := &cobra.Command{
|
serviceCmd := &cobra.Command{
|
||||||
Use: "service",
|
Use: "service",
|
||||||
Short: "Service command group.",
|
Short: "Service command group",
|
||||||
}
|
}
|
||||||
serviceCmd.PersistentFlags().StringP("namespace", "n", "default", "Namespace to use.")
|
serviceCmd.PersistentFlags().StringP("namespace", "n", "default", "Namespace to use.")
|
||||||
serviceCmd.AddCommand(NewServiceListCommand(p))
|
serviceCmd.AddCommand(NewServiceListCommand(p))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue