cmd/{ctr,dist}: label can be a verb

Rather than using the more verbose `set-labels` command, we are changing
the command to set labels for various objects to `label`, as it can be
used as a verb. This matches changes in the content store labeling.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2017-07-13 14:36:13 -07:00
parent 8eadcb8c28
commit a8b2254911
3 changed files with 3 additions and 3 deletions

View File

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