summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-16 11:34:32 -0700
committerGitHub <noreply@github.com>2019-03-16 11:34:32 -0700
commit4b771162ce7342cbaed2235ccd2a2908e7163793 (patch)
treed41ee1f690726b673e2508aa20651ebb1b4078bd
parent97fb49571828b9d206ff284ed18448f96ae877e9 (diff)
parent8a570b2dd2679d56d88b6e6e86045aebee2371e1 (diff)
downloadpodman-4b771162ce7342cbaed2235ccd2a2908e7163793.tar.gz
podman-4b771162ce7342cbaed2235ccd2a2908e7163793.tar.bz2
podman-4b771162ce7342cbaed2235ccd2a2908e7163793.zip
Merge pull request #2657 from edsantiago/image_tree_usage
podman image tree: fix usage message
-rw-r--r--cmd/podman/tree.go2
-rw-r--r--docs/podman-image.1.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/tree.go b/cmd/podman/tree.go
index ebda18cdb..c56e35aef 100644
--- a/cmd/podman/tree.go
+++ b/cmd/podman/tree.go
@@ -23,7 +23,7 @@ var (
treeDescription = "Prints layer hierarchy of an image in a tree format"
_treeCommand = &cobra.Command{
- Use: "tree",
+ Use: "tree [flags] IMAGE",
Short: treeDescription,
Long: treeDescription,
RunE: func(cmd *cobra.Command, args []string) error {
diff --git a/docs/podman-image.1.md b/docs/podman-image.1.md
index 54960045f..333a75b69 100644
--- a/docs/podman-image.1.md
+++ b/docs/podman-image.1.md
@@ -27,8 +27,8 @@ The image command allows you to manage images
| save | [podman-save(1)](podman-save.1.md) | Save an image to docker-archive or oci. |
| sign | [podman-image-sign(1)](podman-image-sign.1.md) | Sign an image. |
| tag | [podman-tag(1)](podman-tag.1.md) | Add an additional name to a local image. |
+| tree | [podman-image-tree(1)](podman-image-tree.1.md) | Prints layer hierarchy of an image in a tree format. |
| trust | [podman-image-trust(1)](podman-image-trust.1.md)| Manage container image trust policy. |
-| tree | [podman-image-tree(1)](podman-image-tree.1.md) | Prints layer hierarchy of an image in a tree format |
## SEE ALSO
podman