Skip to content

Commit

Permalink
podman info: hide --debug
Browse files Browse the repository at this point in the history
It's a NOP since Podman v2.0 (containers#5738).

[NO NEW TESTS NEEDED] - does not change behavior.

Fixes: containers#15185
Signed-off-by: Valentin Rothberg <[email protected]>
  • Loading branch information
vrothberg committed Aug 4, 2022
1 parent bcfbee9 commit e67e602
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions cmd/podman/system/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 0 additions & 4 deletions docs/source/markdown/podman-info.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e67e602

Please sign in to comment.