diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-30 14:04:50 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-30 15:52:08 +0000 |
commit | bdce676307cf26837a44d30729020d2f9a7a3950 (patch) | |
tree | 53d774bfd7fdf14654f1dc4bd13d15f0c3baeb74 /cmd | |
parent | 6751b2c3504096286977490d2eb70047f054e207 (diff) | |
download | podman-bdce676307cf26837a44d30729020d2f9a7a3950.tar.gz podman-bdce676307cf26837a44d30729020d2f9a7a3950.tar.bz2 podman-bdce676307cf26837a44d30729020d2f9a7a3950.zip |
varlink: fix --timeout usage
The varlink usage help looks like:
--timeout value, -t value time until the varlink session expires in
milliseconds. default is 1 second; 0 means no timeout. (default:
1000)
Fix it to not repeat twice the default value.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1377
Approved by: rhatdan
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/varlink.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/varlink.go b/cmd/podman/varlink.go index 2b3891aec..e8f38cad2 100644 --- a/cmd/podman/varlink.go +++ b/cmd/podman/varlink.go @@ -24,7 +24,7 @@ var ( varlinkFlags = []cli.Flag{ cli.IntFlag{ Name: "timeout, t", - Usage: "time until the varlink session expires in milliseconds. default is 1 second; 0 means no timeout.", + Usage: "time until the varlink session expires in milliseconds. Use 0 to disable the timeout.", Value: 1000, }, } |