From 288cac78fde65e01602f867fc15e7cc47a6d0813 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 14:47:47 +0530 Subject: [PATCH] image/list: name the --digests flag in the --tree error The error returned when --digests is combined with --tree said "--show-digest is not yet supported with --tree", but the flag is called --digests (options.showDigests is bound to "digests"). Signed-off-by: farisbasha --- cli/command/image/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/image/list.go b/cli/command/image/list.go index 626f06cb84eb..b30fefa18e61 100644 --- a/cli/command/image/list.go +++ b/cli/command/image/list.go @@ -161,7 +161,7 @@ func shouldUseTree(options imagesOptions) (bool, error) { } if options.showDigests { if options.tree { - return false, errors.New("--show-digest is not yet supported with --tree") + return false, errors.New("--digests is not yet supported with --tree") } return false, nil }