summaryrefslogtreecommitdiff
path: root/cmd/podman/utils.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-31 16:32:59 +0200
committerGitHub <noreply@github.com>2020-03-31 16:32:59 +0200
commit4e3010d4e761fcb3d6de3b38cac1dc5b4371b129 (patch)
tree5f5a6a305536a7fa0c67cb3e10cd91da5c997223 /cmd/podman/utils.go
parent7d4ab3fd8f48c7ded1a226f148e3677a1122c657 (diff)
parent3449b27cd1743a1353ea8c4503eec5d126d04b0d (diff)
downloadpodman-4e3010d4e761fcb3d6de3b38cac1dc5b4371b129.tar.gz
podman-4e3010d4e761fcb3d6de3b38cac1dc5b4371b129.tar.bz2
podman-4e3010d4e761fcb3d6de3b38cac1dc5b4371b129.zip
Merge pull request #5681 from rhatdan/timeout
Switch to using --time as opposed to --timeout to better match Docker.
Diffstat (limited to 'cmd/podman/utils.go')
-rw-r--r--cmd/podman/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/utils.go b/cmd/podman/utils.go
index 44e65b223..938a3f41e 100644
--- a/cmd/podman/utils.go
+++ b/cmd/podman/utils.go
@@ -63,6 +63,8 @@ func aliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName {
name = "health-timeout"
case "net":
name = "network"
+ case "timeout":
+ name = "time"
}
return pflag.NormalizedName(name)
}