Merge pull request #3102 from Ace-Tang/arg_usage

ctr: fix image cmd ArgsUsage
This commit is contained in:
Phil Estes 2019-03-18 08:37:18 -07:00 committed by GitHub
commit b90eeadafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ var listCommand = cli.Command{
Name: "list", Name: "list",
Aliases: []string{"ls"}, Aliases: []string{"ls"},
Usage: "list images known to containerd", Usage: "list images known to containerd",
ArgsUsage: "[flags] <ref>", ArgsUsage: "[flags] [<filter>, ...]",
Description: "list images registered with containerd", Description: "list images registered with containerd",
Flags: []cli.Flag{ Flags: []cli.Flag{
cli.BoolFlag{ cli.BoolFlag{
@ -196,7 +196,7 @@ var setLabelsCommand = cli.Command{
var checkCommand = cli.Command{ var checkCommand = cli.Command{
Name: "check", Name: "check",
Usage: "check that an image has all content available locally", Usage: "check that an image has all content available locally",
ArgsUsage: "[flags] <ref> [<ref>, ...]", ArgsUsage: "[flags] [<filter>, ...]",
Description: "check that an image has all content available locally", Description: "check that an image has all content available locally",
Flags: commands.SnapshotterFlags, Flags: commands.SnapshotterFlags,
Action: func(context *cli.Context) error { Action: func(context *cli.Context) error {