Merge pull request #6052 from thaJeztah/inspect_completion
inspect: add shell completion, improve flag-description for `--type` and improve validation
This commit is contained in:
@ -9,7 +9,7 @@ Return low-level information on Docker objects
|
||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||
| [`-s`](#size), [`--size`](#size) | `bool` | | Display total file sizes if the type is container |
|
||||
| [`--type`](#type) | `string` | | Return JSON for specified type |
|
||||
| [`--type`](#type) | `string` | | Only inspect objects of the given type |
|
||||
|
||||
|
||||
<!---MARKER_GEN_END-->
|
||||
|
||||
Reference in New Issue
Block a user