containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
22.37k stars 2.31k forks source link

remote: usability: "diff" with no args makes nonsensical suggestion (--latest) #23038

Closed edsantiago closed 1 week ago

edsantiago commented 2 weeks ago
$ bin/podman-remote diff
Error: "podman-remote diff" requires a name, id, or the "--latest" flag

Solution: fix this to check for IsRemote() https://github.com/containers/podman/blob/b8d95a5893572b37c8257407e964ad06ba87ade6/cmd/podman/diff/diff.go#L75-L77