summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_events.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-16 16:20:30 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-16 16:59:47 +0200
commit09c462d735082efa0489b66c66f0590460f4f00c (patch)
tree6f13726227d9ac4c6ab649b0953f6f504a2a4637 /pkg/api/server/register_events.go
parent82936d89887d8a649c6e439cef85304882c44c46 (diff)
downloadpodman-09c462d735082efa0489b66c66f0590460f4f00c.tar.gz
podman-09c462d735082efa0489b66c66f0590460f4f00c.tar.bz2
podman-09c462d735082efa0489b66c66f0590460f4f00c.zip
fix "podman -h" help output
`podman -h` currently returns an error: `Error: pflag: help requested` This bug was introduced in 44d037898ebc, the problem is that we wrap the error and cobra lib checks with `==` for this one and not errors.Is(). I have a PR upstream to fix this but for now this also works. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/api/server/register_events.go')
0 files changed, 0 insertions, 0 deletions