summaryrefslogtreecommitdiff
path: root/hack/podman-commands.sh
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-03-07 14:33:25 -0700
committerEd Santiago <santiago@redhat.com>2019-03-07 14:33:25 -0700
commit91e15bd802be4ee7de3238ecc491d67f82312e19 (patch)
tree619c506cf13a9f7f2a16fb2747931d39985f113c /hack/podman-commands.sh
parent1b253cf73a360557196213684cec63b37407ed7c (diff)
downloadpodman-91e15bd802be4ee7de3238ecc491d67f82312e19.tar.gz
podman-91e15bd802be4ee7de3238ecc491d67f82312e19.tar.bz2
podman-91e15bd802be4ee7de3238ecc491d67f82312e19.zip
add podman-healthcheck(1) to podman(1)
...caught by hack/podman-commands.sh script. Which had a little buglet, which I fixed: add a special case for 'help', which neither has nor needs a man page. I believe the podman-commands.sh script is ready to be run in CI, hint hint. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'hack/podman-commands.sh')
-rwxr-xr-xhack/podman-commands.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hack/podman-commands.sh b/hack/podman-commands.sh
index 754f2923d..eb599763c 100755
--- a/hack/podman-commands.sh
+++ b/hack/podman-commands.sh
@@ -35,6 +35,9 @@ function podman_man() {
# | [podman-cmd(1)\[(podman-cmd.1.md) | Description ... |
# For all such, print the 'cmd' portion (the one in brackets).
sed -ne 's/^|\s\+\[podman-\([a-z]\+\)(1.*/\1/p' <docs/$1.1.md
+
+ # Special case: there is no podman-help man page, nor need for such.
+ echo "help"
elif [ "$@" = "podman-image-trust" ]; then
# Special case: set and show aren't actually in a table in the man page
echo set