diff options
author | Valentin Rothberg <vrothberg@suse.com> | 2018-08-30 08:35:47 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-30 15:45:13 +0000 |
commit | 6751b2c3504096286977490d2eb70047f054e207 (patch) | |
tree | 864309d70710e90d2fb59d601aeb4911efe22ec8 /cmd/podman/run_test.go | |
parent | 65c31d49f967c9b1da0984897be08f6238bc7705 (diff) | |
download | podman-6751b2c3504096286977490d2eb70047f054e207.tar.gz podman-6751b2c3504096286977490d2eb70047f054e207.tar.bz2 podman-6751b2c3504096286977490d2eb70047f054e207.zip |
run/create: reserve `-h` flag for hostname
Move the `-h` short flag from `--help` to `--hostname` for podman-run,
podman-create and podman-pod-create to be compatible with Docker.
Fixes: #1367
Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
Closes: #1373
Approved by: rhatdan
Diffstat (limited to 'cmd/podman/run_test.go')
-rw-r--r-- | cmd/podman/run_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/podman/run_test.go b/cmd/podman/run_test.go index 397b3bb71..0a79f6ec3 100644 --- a/cmd/podman/run_test.go +++ b/cmd/podman/run_test.go @@ -17,9 +17,10 @@ var ( cmd = []string{"podman", "test", "alpine"} CLI *cli.Context testCommand = cli.Command{ - Name: "test", - Flags: createFlags, - Action: testCmd, + Name: "test", + Flags: createFlags, + Action: testCmd, + HideHelp: true, } ) |