From 9e340da255bd45a171cd35afb21fb320fb42f7ff Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 30 Jan 2019 15:28:13 +0000 Subject: Add support for short option -f docker info supports a short -f option for --format. Signed-off-by: Daniel J Walsh --- cmd/podman/info.go | 2 +- completions/bash/podman | 1 + docs/podman-info.1.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/podman/info.go b/cmd/podman/info.go index 3888829a3..f5f91b603 100644 --- a/cmd/podman/info.go +++ b/cmd/podman/info.go @@ -29,7 +29,7 @@ var ( Usage: "display additional debug information", }, cli.StringFlag{ - Name: "format", + Name: "format, f", Usage: "Change the output format to JSON or a Go template", }, } diff --git a/completions/bash/podman b/completions/bash/podman index 9ef1d1a0d..e84c25117 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1219,6 +1219,7 @@ _podman_info() { --debug " local options_with_args=" + -f --format " diff --git a/docs/podman-info.1.md b/docs/podman-info.1.md index 836a2c420..d3a0658c9 100644 --- a/docs/podman-info.1.md +++ b/docs/podman-info.1.md @@ -19,7 +19,7 @@ Displays information pertinent to the host, current storage stats, configured co Show additional information -**--format** +**--format, -f** Change output format to "json" or a Go template. -- cgit v1.2.3-54-g00ecf