1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 09:48:36 +01:00

Fix spelling errors

This commit is contained in:
Dan Ramich
2018-04-20 13:15:42 -07:00
committed by Darren Shepherd
parent 6e2f325052
commit 7e602aeadf
3 changed files with 4 additions and 4 deletions

View File

@@ -265,7 +265,7 @@ func Lookup(c *cliclient.MasterClient, name string, types ...string) (*ntypes.Re
} else if _, ok := c.ClusterClient.APIBaseClient.Types[schemaType]; ok {
schemaClient = c.ClusterClient
} else {
return nil, errors.New("unkown resource type")
return nil, errors.New("unknown resource type")
}
// Attempt to get the resource by ID

View File

@@ -83,7 +83,7 @@ func inspectResources(ctx *cli.Context) error {
return err
}
} else {
return errors.New("unkown resource type")
return errors.New("unknown resource type")
}
if !ctx.Bool("links") {

View File

@@ -44,8 +44,8 @@ func optionCompleter(args []string, long bool) []prompt.Suggest {
}
var optionHelp = []prompt.Suggest{
{Text: "-h", Description: "Help Commmand"},
{Text: "--help", Description: "Help Commmand"},
{Text: "-h", Description: "Help Command"},
{Text: "--help", Description: "Help Command"},
}
func excludeOptions(args []string) []string {