summaryrefslogtreecommitdiff
path: root/cmd/podman/version.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-01-30 15:41:23 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2019-01-30 15:41:52 +0000
commit2ed52c299fa382000d33d4fa2eb2727ce4e80455 (patch)
treea63662c0d94d5b6943400d034c9d7baf2aaf1af7 /cmd/podman/version.go
parentb71088a01e1e43b87214aaca87c73865fa3b990e (diff)
downloadpodman-2ed52c299fa382000d33d4fa2eb2727ce4e80455.tar.gz
podman-2ed52c299fa382000d33d4fa2eb2727ce4e80455.tar.bz2
podman-2ed52c299fa382000d33d4fa2eb2727ce4e80455.zip
Add support for short option -f in podman version
docker version supports a short options -f for --format Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/version.go')
-rw-r--r--cmd/podman/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/version.go b/cmd/podman/version.go
index fd7f06b7c..ce773ee2e 100644
--- a/cmd/podman/version.go
+++ b/cmd/podman/version.go
@@ -57,7 +57,7 @@ var (
}
versionFlags = []cli.Flag{
cli.StringFlag{
- Name: "format",
+ Name: "format, f",
Usage: "Change the output format to JSON or a Go template",
},
}