From 14a050688d4be028a56a9a52f1358091d52acad2 Mon Sep 17 00:00:00 2001 From: Ace-Tang Date: Mon, 18 Mar 2019 21:11:34 +0800 Subject: [PATCH] ctr: fix image cmd ArgsUsage ctr image list/check 's ArgsUsage should be filter, not ref Signed-off-by: Ace-Tang --- cmd/ctr/commands/images/images.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ctr/commands/images/images.go b/cmd/ctr/commands/images/images.go index 29fc45916..ca6dd6857 100644 --- a/cmd/ctr/commands/images/images.go +++ b/cmd/ctr/commands/images/images.go @@ -54,7 +54,7 @@ var listCommand = cli.Command{ Name: "list", Aliases: []string{"ls"}, Usage: "list images known to containerd", - ArgsUsage: "[flags] ", + ArgsUsage: "[flags] [, ...]", Description: "list images registered with containerd", Flags: []cli.Flag{ cli.BoolFlag{ @@ -196,7 +196,7 @@ var setLabelsCommand = cli.Command{ var checkCommand = cli.Command{ Name: "check", Usage: "check that an image has all content available locally", - ArgsUsage: "[flags] [, ...]", + ArgsUsage: "[flags] [, ...]", Description: "check that an image has all content available locally", Flags: commands.SnapshotterFlags, Action: func(context *cli.Context) error {