diff --git a/cmd/ctr/labels.go b/cmd/ctr/labels.go index 448db1928..4a9a8594c 100644 --- a/cmd/ctr/labels.go +++ b/cmd/ctr/labels.go @@ -9,7 +9,7 @@ import ( ) var containersSetLabelsCommand = cli.Command{ - Name: "set-labels", + Name: "label", Usage: "Set and clear labels for a container.", ArgsUsage: "[flags] [=, ...]", Description: "Set and clear labels for a container.", diff --git a/cmd/ctr/namespaces.go b/cmd/ctr/namespaces.go index fd29cc59b..47e91d602 100644 --- a/cmd/ctr/namespaces.go +++ b/cmd/ctr/namespaces.go @@ -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] [=, ...]", Description: "Set and clear labels for a namespace.", diff --git a/cmd/dist/images.go b/cmd/dist/images.go index f8b168dba..21a2c3631 100644 --- a/cmd/dist/images.go +++ b/cmd/dist/images.go @@ -83,7 +83,7 @@ var imagesListCommand = cli.Command{ } var imagesSetLabelsCommand = cli.Command{ - Name: "set-labels", + Name: "label", Usage: "Set and clear labels for an image.", ArgsUsage: "[flags] [=, ...]", Description: "Set and clear labels for an image.",