Skip to content

Commit 14a0506

Browse files
committed
ctr: fix image cmd ArgsUsage
ctr image list/check 's ArgsUsage should be filter, not ref Signed-off-by: Ace-Tang <[email protected]>
1 parent 30b6f46 commit 14a0506

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/ctr/commands/images/images.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var listCommand = cli.Command{
5454
Name: "list",
5555
Aliases: []string{"ls"},
5656
Usage: "list images known to containerd",
57-
ArgsUsage: "[flags] <ref>",
57+
ArgsUsage: "[flags] [<filter>, ...]",
5858
Description: "list images registered with containerd",
5959
Flags: []cli.Flag{
6060
cli.BoolFlag{
@@ -196,7 +196,7 @@ var setLabelsCommand = cli.Command{
196196
var checkCommand = cli.Command{
197197
Name: "check",
198198
Usage: "check that an image has all content available locally",
199-
ArgsUsage: "[flags] <ref> [<ref>, ...]",
199+
ArgsUsage: "[flags] [<filter>, ...]",
200200
Description: "check that an image has all content available locally",
201201
Flags: commands.SnapshotterFlags,
202202
Action: func(context *cli.Context) error {

0 commit comments

Comments
 (0)