summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-03-14 14:19:20 -0600
committerEd Santiago <santiago@redhat.com>2019-03-16 08:09:35 -0600
commit8a570b2dd2679d56d88b6e6e86045aebee2371e1 (patch)
treed41ee1f690726b673e2508aa20651ebb1b4078bd
parent97fb49571828b9d206ff284ed18448f96ae877e9 (diff)
downloadpodman-8a570b2dd2679d56d88b6e6e86045aebee2371e1.tar.gz
podman-8a570b2dd2679d56d88b6e6e86045aebee2371e1.tar.bz2
podman-8a570b2dd2679d56d88b6e6e86045aebee2371e1.zip
podman image tree: fix usage message
Minor fix to Use message: add IMAGE argument. (I'm a stickler for this because my zsh completion is self-generating, from the --help messages). Also, sort 'tree' before 'trust' in man page. Signed-off-by: Ed Santiago <santiago@redhat.com>
-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