Merge pull request #2873 from edsantiago/podman_command_check_usability

CI check for --help vs man pages: usability fix
This commit is contained in:
OpenShift Merge Robot
2019-04-09 00:48:36 -07:00
committed by GitHub

View File

@ -82,4 +82,26 @@ function compare_help_and_man() {
compare_help_and_man compare_help_and_man
if [ $rc -ne 0 ]; then
cat <<EOF
**************************
** INTERPRETING RESULTS **
**************************************************************************
*
* The above results show differences between 'podman --help' and
* podman man pages.
*
* The 'checking:' header indicates the specific command (and possibly
* subcommand) being tested, e.g. podman --help vs docs/podman.1.md.
*
* A '-' indicates a subcommand present in 'podman --help' but not the
* corresponding man page.
*
* A '+' indicates a subcommand present in the man page but not --help.
*
**************************************************************************
EOF
fi
exit $rc exit $rc