summaryrefslogtreecommitdiff
path: root/cmd/podman/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r--cmd/podman/search.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/search.go b/cmd/podman/search.go
index 2e68e8c21..009ff8ba9 100644
--- a/cmd/podman/search.go
+++ b/cmd/podman/search.go
@@ -52,12 +52,13 @@ var (
Search registries for a given image. Can search all the default registries or a specific registry.
Can limit the number of results, and filter the output based on certain conditions.`
searchCommand = cli.Command{
- Name: "search",
- Usage: "Search registry for image",
- Description: searchDescription,
- Flags: searchFlags,
- Action: searchCmd,
- ArgsUsage: "TERM",
+ Name: "search",
+ Usage: "Search registry for image",
+ Description: searchDescription,
+ Flags: searchFlags,
+ Action: searchCmd,
+ ArgsUsage: "TERM",
+ OnUsageError: usageErrorHandler,
}
)