Skip to content

inspect: list allowed object types in --type help - #7315

Open
TastyHeadphones wants to merge 1 commit into
docker:masterfrom
TastyHeadphones:fix/inspect-type-help
Open

TastyHeadphones wants to merge 1 commit into
docker:masterfrom
TastyHeadphones:fix/inspect-type-help

Conversation

@TastyHeadphones

Copy link
Copy Markdown

docker inspect --help described --type as "Only inspect objects of the given type" without saying which types exist.

The docs already list them; this puts the same list in the flag help (driven from allTypes).

Fixes #6047

The flag help only said "of the given type" without naming any. Include
the same set we validate against so `docker inspect --help` is enough.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear what a type is when using docker inspect

1 participant