Fixes typo in the kn help command (#24)

s/blokcs/blocks

 and removes few unneeded dots (.)
This commit is contained in:
Navid Shaikh 2019-02-26 04:19:19 +05:30 committed by Naomi Seyfer
parent e6699b9b54
commit 139db6c4f9
3 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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.

View File

@ -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))