Incorrect documentation examples for podman-image-diff #10649
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
In the documentation at http://docs.podman.io/en/latest/markdown/podman-image-diff.1.html
this example:
podman diff --format json redis:old redis:alpine
is used. But this does not work with the current version of podman.I think when a single image is mentioned the diff should be done between the image and its parent layer and when two are mentioned the diff should be between them.
The JSON output when
--format=json
flag is used is not indented andJSON
is not accepted as a valid option, which in my opinion should be. This would just be a minor fix in the regular expression here:podman/vendor/github.com/containers/common/pkg/report/validate.go
Line 5 in 0c38ac4
Output of
podman version
:Please provide correct documentation examples, and if there are any potential bug fixes then let me know! I would love to try working on them
The text was updated successfully, but these errors were encountered: