diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-19 11:00:59 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 16:31:34 -0400 |
commit | 7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a (patch) | |
tree | 7a5678be650894dd40275dfccc3fd5b948a32112 /docs/source/markdown/podman-version.1.md | |
parent | 17171aecf449c0f0823d7843242d735caaad7739 (diff) | |
download | podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.tar.gz podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.tar.bz2 podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.zip |
podman version --format ... was not working
This patch fixes the podman --version --format command.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-version.1.md')
-rw-r--r-- | docs/source/markdown/podman-version.1.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/source/markdown/podman-version.1.md b/docs/source/markdown/podman-version.1.md index 86c270e02..185e8e296 100644 --- a/docs/source/markdown/podman-version.1.md +++ b/docs/source/markdown/podman-version.1.md @@ -25,17 +25,18 @@ Change output format to "json" or a Go template. A sample output of the `version` command: ``` $ podman version -Version: 0.11.1 -Go Version: go1.11 -Git Commit: "8967a1d691ed44896b81ad48c863033f23c65eb0-dirty" -Built: Thu Nov 8 22:35:40 2018 -OS/Arch: linux/amd64 +Version: 2.0.0 +API Version: 1 +Go Version: go1.14.2 +Git Commit: 4520664f63c3a7f9a80227715359e20069d95542 +Built: Tue May 19 10:48:59 2020 +OS/Arch: linux/amd64 ``` Filtering out only the version: ``` $ podman version --format '{{.Client.Version}}' -1.6.3 +2.0.0 ``` ## SEE ALSO |