Support -f
/--force
flag in podman image prune
#4410
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind feature
Description
Docker CLI has a
-f
flag for thedocker image prune
command. So for podman to be compatible with docker, especially in scripts, at least it would be better not to show an error:Steps to reproduce the issue:
podman image prune -f
Describe the results you received:
Error: unknown shorthand flag: 'f' in -f
Describe the results you expected:
Should not throw an error on both
-f
and--force
flags used.The text was updated successfully, but these errors were encountered: