podman/hack
Ed Santiago 742028e255 podman-commands script: refactor
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>
2019-02-28 13:16:24 -07:00
..
apparmor_tag.sh AppArmor: runtime check if it's enabled on the host 2018-07-23 18:11:09 +00:00
btrfs_installed_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
btrfs_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
get_ci_vm.sh get_ci_vm : allow running without sudo 2019-02-13 05:27:56 -07:00
install_catatonit.sh add container-init support 2019-01-04 11:42:03 +01:00
libdm_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
ostree_tag.sh build: enable ostree in containers/storage when available 2018-07-11 17:26:21 +00:00
podman-commands.sh podman-commands script: refactor 2019-02-28 13:16:24 -07:00
release.sh hack/release.sh: Add a guard against -dev suffixes for argv[2] 2018-06-10 10:51:11 +00:00
selinux_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
tree_status.sh hack/tree_status.sh: preserve new lines 2019-02-20 13:35:52 +01:00