cmd/skopeo: hide layers command

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-12-05 18:44:41 +01:00
parent 1730fd0d5f
commit 93cde78d9b
No known key found for this signature in database
GPG Key ID: B2BEAD150DE936B9

View File

@ -19,6 +19,7 @@ var layersCmd = cli.Command{
Name: "layers",
Usage: "Get layers of IMAGE-NAME",
ArgsUsage: "IMAGE-NAME [LAYER...]",
Hidden: true,
Action: func(c *cli.Context) error {
fmt.Fprintln(os.Stderr, `DEPRECATED: skopeo layers is deprecated in favor of skopeo copy`)
if c.NArg() == 0 {