diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-02-21 16:28:04 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-02-21 19:12:12 +0100 |
commit | 44d037898ebc328432823d51ca2da298902a46e9 (patch) | |
tree | 68ed394ca8fb0d6fc58499ab35053811ebc4feb9 /test/system/420-cgroups.bats | |
parent | d224a0f8ac4978c3ac399a0940f785892d63daa8 (diff) | |
download | podman-44d037898ebc328432823d51ca2da298902a46e9.tar.gz podman-44d037898ebc328432823d51ca2da298902a46e9.tar.bz2 podman-44d037898ebc328432823d51ca2da298902a46e9.zip |
provide better error on invalid flag
Add a extra `See 'podman command --help'` to the error output.
With this patch you now get:
```
$ podman run -h
Error: flag needs an argument: 'h' in -h
See 'podman run --help'
```
Fixes #13082
Fixes #13002
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/system/420-cgroups.bats')
0 files changed, 0 insertions, 0 deletions