summaryrefslogtreecommitdiff
path: root/cmd/podman/search.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-18 22:14:57 +0100
committerGitHub <noreply@github.com>2019-02-18 22:14:57 +0100
commit228d1cbcd372b086669e35c1237fc5064b24ea7d (patch)
treebf8b47a997c76db0121295314ab1740411afeedf /cmd/podman/search.go
parentc9b13133cdd9f59a000d40fce357c33919ef7032 (diff)
parent64853710e87ba124561653cb5d62ca3a653b4170 (diff)
downloadpodman-228d1cbcd372b086669e35c1237fc5064b24ea7d.tar.gz
podman-228d1cbcd372b086669e35c1237fc5064b24ea7d.tar.bz2
podman-228d1cbcd372b086669e35c1237fc5064b24ea7d.zip
Merge pull request #2361 from TomSweeneyRedHat/dev/tsweeney/cobraex4
Add 4th chunk of Cobra Examples
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r--cmd/podman/search.go4
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`,
}
)