summaryrefslogtreecommitdiff
path: root/cmd/podman/volume_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-16 17:31:51 +0100
committerGitHub <noreply@github.com>2019-02-16 17:31:51 +0100
commit1cb16bd24bc86450d99b4cb25601b0b040c49b86 (patch)
tree577a699f2c722e161c8a2db2b1e3ac54521d76ef /cmd/podman/volume_inspect.go
parent0a521e139faa0c7f1d9b6c9e647c350c1b7c4e04 (diff)
parent72b91eb87f7a9c8e637f337e078b4adab4198f33 (diff)
downloadpodman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.tar.gz
podman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.tar.bz2
podman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.zip
Merge pull request #2341 from TomSweeneyRedHat/dev/tsweeney/helpexamples2
Second chunk of Cobra help
Diffstat (limited to 'cmd/podman/volume_inspect.go')
-rw-r--r--cmd/podman/volume_inspect.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/volume_inspect.go b/cmd/podman/volume_inspect.go
index 928ef37d0..3b4ba51d5 100644
--- a/cmd/podman/volume_inspect.go
+++ b/cmd/podman/volume_inspect.go
@@ -24,7 +24,9 @@ from JSON to a Go template.
volumeInspectCommand.GlobalFlags = MainGlobalOpts
return volumeInspectCmd(&volumeInspectCommand)
},
- Example: "[VOLUME-NAME ...]",
+ Example: `podman volume inspect myvol
+ podman volume inspect --all
+ podman volume inspect --format "{{.Driver}} {{.Scope}}" myvol`,
}
)