mirror of
https://github.com/containers/podman
synced 2024-10-22 10:13:33 +00:00
742028e255
Make more general-purpose: instead of hardcoding a list of known subcommands, and duplicating sed pipelines for each, rely on 'podman help' itself to tell us which podman commands have subcommands; and examine each in turn. Should there ever be new subcommands, this will identify and test them. A special case is needed for 'podman image trust', whose documentation format doesn't match the others. The change to `common.go` fixes an inconsistency: the Usage message for commands with subcommands had an unnecessary blank line, making it harder to parse automatically. This simply produces consistent Usage messages for all podman commands. This script will not pass until #2480 is merged. After that, the goal is to add this as a CI hook. Signed-off-by: Ed Santiago <santiago@redhat.com> |
||
---|---|---|
.. | ||
apparmor_tag.sh | ||
btrfs_installed_tag.sh | ||
btrfs_tag.sh | ||
get_ci_vm.sh | ||
install_catatonit.sh | ||
libdm_tag.sh | ||
ostree_tag.sh | ||
podman-commands.sh | ||
release.sh | ||
selinux_tag.sh | ||
tree_status.sh |