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>
This commit is contained in:
Valentin Rothberg
2022-08-04 13:13:26 +02:00
parent bcfbee9862
commit e67e602265
2 changed files with 1 additions and 4 deletions

View File

@ -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")

View File

@ -15,10 +15,6 @@ Displays information pertinent to the host, current storage stats, configured co
## OPTIONS
#### **--debug**, **-D**
Show additional information
#### **--format**, **-f**=*format*
Change output format to "json" or a Go template.