add valid resources when args is nil

This commit is contained in:
lojies
2016-08-23 09:40:57 +08:00
parent a57561b84d
commit f5b7a6e2a3
2 changed files with 10 additions and 5 deletions

View File

@@ -245,7 +245,7 @@ Find more information at https://github.com/kubernetes/kubernetes.`,
Message: "Basic Commands (Intermediate):",
Commands: []*cobra.Command{
NewCmdGet(f, out, err),
NewCmdExplain(f, out),
NewCmdExplain(f, out, err),
NewCmdEdit(f, out, err),
NewCmdDelete(f, out),
},