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 }