Add --noheading flag to all list commands

Currently we have only podman images list --noheading.
This PR Adds this option to volumes, containers, pods, networks,
machines, and secrets.

Fixes: https://github.com/containers/podman/issues/10065

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2021-04-20 10:03:49 -04:00
parent 0d3aa18f04
commit 8ebeadc3c6
16 changed files with 80 additions and 15 deletions

View File

@ -35,6 +35,10 @@ Valid placeholders for the Go template are listed below:
Print usage statement.
#### **\-\-noheading**
Omit the table headings from the listing of pods.
## EXAMPLES
```

View File

@ -41,6 +41,10 @@ Valid placeholders for the Go template are listed below:
| .Labels | Network labels |
| .Version | CNI Version of the config file |
#### **\-\-noheading**
Omit the table headings from the listing of networks.
#### **\-\-no-trunc**
Do not truncate the network ID. The network ID is not displayed by default and must be specified with **\-\-format**.

View File

@ -42,6 +42,10 @@ Includes the container statuses in the container info field
Show the latest pod created (all states) (This option is not available with the remote Podman client)
#### **\-\-noheading**
Omit the table headings from the listing of pods.
#### **\-\-no-trunc**
Display the extended information

View File

@ -100,6 +100,10 @@ Show the latest container created (all states) (This option is not available wit
Display namespace information
#### **\-\-noheading**
Omit the table headings from the listing of containers.
#### **\-\-no-trunc**
Display the extended information

View File

@ -16,6 +16,10 @@ Lists all the secrets that exist. The output can be formatted to a Go template u
Format secret output using Go template.
#### **\-\-noheading**
Omit the table headings from the listing of secrets. .
## EXAMPLES
```

View File

@ -26,6 +26,10 @@ Format volume output using Go template.
Print usage statement.
#### **\-\-noheading**
Omit the table headings from the listing of volumes.
#### **\-\-quiet**, **-q**
Print volume output in quiet mode. Only print the volume names.