Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit c077f24

Browse files
committed
update help string with prefix info
1 parent cbc1bc2 commit c077f24

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

cmd/root.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ const (
4747
var RootCmd = &cobra.Command{
4848
Use: "container-diff",
4949
Short: "container-diff is a tool for analyzing and comparing container images",
50-
Long: `container-diff is a CLI tool for analyzing and comparing container images.`,
50+
Long: `container-diff is a CLI tool for analyzing and comparing container images.
51+
52+
Images can be specified from either a local Docker daemon, or from a remote registry.
53+
To specify a local image, prefix the image ID with 'daemon://', e.g. 'daemon://gcr.io/foo/bar'.
54+
To specify a remote image, prefix the image ID with 'remote://', e.g. 'remote://gcr.io/foo/bar'.
55+
If no prefix is specified, the local daemon will be checked first.
56+
57+
Tarballs can also be specified by simply providing the path to the .tar, .tar.gz, or .tgz file.`,
5158
}
5259

5360
func NewClient() (*client.Client, error) {

0 commit comments

Comments
 (0)