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:
committed by
Darren Shepherd
parent
6e2f325052
commit
7e602aeadf
@@ -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
|
||||
|
||||
@@ -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") {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user