diff options
author | Ed Santiago <santiago@redhat.com> | 2019-04-08 08:17:13 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-04-08 08:17:13 -0600 |
commit | b57d2c7d704235a9d830d43573ab8f4e063b15b2 (patch) | |
tree | 78625f03d129d70f9e48eecb3f4b8de24711615e /test/e2e/prune_test.go | |
parent | d86729e743fb5a58b9364ee5e991b5db2e9dd600 (diff) | |
download | podman-b57d2c7d704235a9d830d43573ab8f4e063b15b2.tar.gz podman-b57d2c7d704235a9d830d43573ab8f4e063b15b2.tar.bz2 podman-b57d2c7d704235a9d830d43573ab8f4e063b15b2.zip |
CI check for --help vs man pages: usability fix
The output of this CI script leaves much to be desired: it is
output from 'diff' with little clarity on what exactly is wrong.
The proper fix is to make the output clear and readable:
podman containers --help lists a 'foo' subcommand that
is not present in docs/podman-containers.1.md
Doing this in bash would take many hours and be fragile
gibberish code. This does not seem worth the effort: the
likely case is that breakages reported by this script
will be due to a newly added subcommand, and the PR
author will find it obvious what to do. Ergo, plan B:
if the test fails, display a blurb at the end describing
how to interpret results. Three minutes' effort, plus
five for writing this commit message.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/prune_test.go')
0 files changed, 0 insertions, 0 deletions