diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-18 15:00:07 -0500 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-18 15:18:42 -0500 |
commit | 64853710e87ba124561653cb5d62ca3a653b4170 (patch) | |
tree | e9c2ae68cc8a3a2c8dd318abcfb72dba55a2108c /cmd/podman/search.go | |
parent | e738ef16225395f5f5e4b93ba1a43ae9449ae11b (diff) | |
download | podman-64853710e87ba124561653cb5d62ca3a653b4170.tar.gz podman-64853710e87ba124561653cb5d62ca3a653b4170.tar.bz2 podman-64853710e87ba124561653cb5d62ca3a653b4170.zip |
Add 4th chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Adds the 4th chunk of Cobra Examples to the CLI help.
One more chunk of 10 to complete.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r-- | cmd/podman/search.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/search.go b/cmd/podman/search.go index 858addff6..c8b64039a 100644 --- a/cmd/podman/search.go +++ b/cmd/podman/search.go @@ -36,7 +36,9 @@ var ( searchCommand.GlobalFlags = MainGlobalOpts return searchCmd(&searchCommand) }, - Example: "TERM", + Example: `podman search --filter=is-official --limit 3 alpine + podman search registry.fedoraproject.org/ # only works with v2 registries + podman search --format "table {{.Index}} {{.Name}}" registry.fedoraproject.org/fedora`, } ) |