summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-12-02 01:22:35 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2019-12-02 15:50:00 +0100
commitb9b2ab5e5fa3ee7286483ff11c3f08de91e84495 (patch)
tree6e1539a1585d339054666d85c9fb2e2b7010ccb2 /docs
parent39c705e9405faa4d02b71165d05eec1e7bb44d93 (diff)
downloadpodman-b9b2ab5e5fa3ee7286483ff11c3f08de91e84495.tar.gz
podman-b9b2ab5e5fa3ee7286483ff11c3f08de91e84495.tar.bz2
podman-b9b2ab5e5fa3ee7286483ff11c3f08de91e84495.zip
Fix podman-remote version to print client and server
If the user specifies .Server.* on a non podman-remote, substitute .Client for .Server and return the value. This is for compatability with Docker. Since prior versions documented --format {{ .Version }}, we have to continue to support that. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-version.1.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/markdown/podman-version.1.md b/docs/source/markdown/podman-version.1.md
index 4499f6338..de22c4800 100644
--- a/docs/source/markdown/podman-version.1.md
+++ b/docs/source/markdown/podman-version.1.md
@@ -34,8 +34,8 @@ OS/Arch: linux/amd64
Filtering out only the version:
```
-$ podman version --format '{{.Version}}'
-0.11.2
+$ podman version --format '{{.Client.Version}}'
+1.6.3
```
## SEE ALSO