aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-08-04 13:13:26 +0200
committerMatthew Heon <mheon@redhat.com>2022-08-10 16:46:05 -0400
commite776425e5683e9cf85bfa0da092df1d5d45de9bd (patch)
tree674d3c3af9f892baf314784ab17b4608786a8ab6 /cmd/podman
parent53a631ca2839d9584b189b84dce8eca2ed49c45e (diff)
downloadpodman-e776425e5683e9cf85bfa0da092df1d5d45de9bd.tar.gz
podman-e776425e5683e9cf85bfa0da092df1d5d45de9bd.tar.bz2
podman-e776425e5683e9cf85bfa0da092df1d5d45de9bd.zip
podman info: hide `--debug`
It's a NOP since Podman v2.0 (#5738). [NO NEW TESTS NEEDED] - does not change behavior. Fixes: #15185 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/system/info.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/system/info.go b/cmd/podman/system/info.go
index f8fd946cd..296fa4def 100644
--- a/cmd/podman/system/info.go
+++ b/cmd/podman/system/info.go
@@ -63,6 +63,7 @@ func infoFlags(cmd *cobra.Command) {
flags := cmd.Flags()
flags.BoolVarP(&debug, "debug", "D", false, "Display additional debug information")
+ _ = flags.MarkHidden("debug") // It's a NOP since Podman version 2.0
formatFlagName := "format"
flags.StringVarP(&inFormat, formatFlagName, "f", "", "Change the output format to JSON or a Go template")