mirror of
https://github.com/containers/skopeo.git
synced 2025-06-29 16:17:44 +00:00
cmd/skopeo: hide layers command
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
1730fd0d5f
commit
93cde78d9b
@ -19,6 +19,7 @@ var layersCmd = cli.Command{
|
|||||||
Name: "layers",
|
Name: "layers",
|
||||||
Usage: "Get layers of IMAGE-NAME",
|
Usage: "Get layers of IMAGE-NAME",
|
||||||
ArgsUsage: "IMAGE-NAME [LAYER...]",
|
ArgsUsage: "IMAGE-NAME [LAYER...]",
|
||||||
|
Hidden: true,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
fmt.Fprintln(os.Stderr, `DEPRECATED: skopeo layers is deprecated in favor of skopeo copy`)
|
fmt.Fprintln(os.Stderr, `DEPRECATED: skopeo layers is deprecated in favor of skopeo copy`)
|
||||||
if c.NArg() == 0 {
|
if c.NArg() == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user