summaryrefslogtreecommitdiff
path: root/cmd/podman/run_test.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@suse.com>2018-08-31 09:24:49 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-31 10:19:11 +0000
commitbbcad6f572207779ead07127e6619961bc0758b9 (patch)
tree38cc4978041a3c39862daa1d916efa9e3108420e /cmd/podman/run_test.go
parent3839c00ae2f132b115ffabec500ddba2a536527e (diff)
downloadpodman-bbcad6f572207779ead07127e6619961bc0758b9.tar.gz
podman-bbcad6f572207779ead07127e6619961bc0758b9.tar.bz2
podman-bbcad6f572207779ead07127e6619961bc0758b9.zip
catch command-not-found errors
Add a special handler to catch errors caused by specifying unknown commands to Podman. This allows printing a more helpful error message. ``` $ podman Command "123123" not found. See `podman --help`. $ podman pod 123123 Command "123123" not found. See `podman pod --help`. ``` Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #1379 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/run_test.go')
0 files changed, 0 insertions, 0 deletions