Merge pull request #1184 from stevvooe/label-commands

cmd/{ctr,dist}: label can be a verb
This commit is contained in:
Phil Estes
2017-07-14 11:50:22 -04:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ import (
) )
var containersSetLabelsCommand = cli.Command{ var containersSetLabelsCommand = cli.Command{
Name: "set-labels", Name: "label",
Usage: "Set and clear labels for a container.", Usage: "Set and clear labels for a container.",
ArgsUsage: "[flags] <name> [<key>=<value>, ...]", ArgsUsage: "[flags] <name> [<key>=<value>, ...]",
Description: "Set and clear labels for a container.", Description: "Set and clear labels for a container.",

View File

@@ -54,7 +54,7 @@ var namespacesCreateCommand = cli.Command{
} }
var namespacesSetLabelsCommand = cli.Command{ var namespacesSetLabelsCommand = cli.Command{
Name: "set-labels", Name: "label",
Usage: "Set and clear labels for a namespace.", Usage: "Set and clear labels for a namespace.",
ArgsUsage: "[flags] <name> [<key>=<value>, ...]", ArgsUsage: "[flags] <name> [<key>=<value>, ...]",
Description: "Set and clear labels for a namespace.", Description: "Set and clear labels for a namespace.",

2
cmd/dist/images.go vendored
View File

@@ -83,7 +83,7 @@ var imagesListCommand = cli.Command{
} }
var imagesSetLabelsCommand = cli.Command{ var imagesSetLabelsCommand = cli.Command{
Name: "set-labels", Name: "label",
Usage: "Set and clear labels for an image.", Usage: "Set and clear labels for an image.",
ArgsUsage: "[flags] <name> [<key>=<value>, ...]", ArgsUsage: "[flags] <name> [<key>=<value>, ...]",
Description: "Set and clear labels for an image.", Description: "Set and clear labels for an image.",