Added support for labels to "kubectl stop".

Added support for labels and --all to "kubectl stop". Fixes #5178.
This commit is contained in:
Jerzy Szczepkowski
2015-03-10 13:21:49 +01:00
parent 6d465c4d86
commit 110ab79f05
5 changed files with 27 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ func (f *Factory) NewCmdDelete(out io.Writer) *cobra.Command {
Filenames util.StringList
}{}
cmd := &cobra.Command{
Use: "delete ([-f filename] | (<resource> [(<id> | -l <label> | --all)]",
Use: "delete (-f filename | <resource> (<id> | -l <label> | --all))",
Short: "Delete a resource by filename, stdin, or resource and ID.",
Long: delete_long,
Example: delete_example,