aboutsummaryrefslogtreecommitdiff
path: root/hack/podman-commands.sh
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-10-29 17:27:12 -0700
committerMatthew Heon <mheon@redhat.com>2019-10-31 16:34:29 -0400
commit28ad43940f3bfca3870a5450342c4b79c6a2f60f (patch)
treee09c845896ba74942de8ec13e4404df393f374a5 /hack/podman-commands.sh
parent27e79f55407b9e46cee06c97ba53bc3a485f5c03 (diff)
downloadpodman-28ad43940f3bfca3870a5450342c4b79c6a2f60f.tar.gz
podman-28ad43940f3bfca3870a5450342c4b79c6a2f60f.tar.bz2
podman-28ad43940f3bfca3870a5450342c4b79c6a2f60f.zip
Update document formatting and packaging code
* Refactored code and Makefile to support new docs layout * Removed some old code packaging code * Add Readme.md to document what we're doing Signed-off-by: Jhon Honce <jhonce@redhat.com> Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'hack/podman-commands.sh')
-rwxr-xr-xhack/podman-commands.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/podman-commands.sh b/hack/podman-commands.sh
index bd35b03bc..32f94fc7b 100755
--- a/hack/podman-commands.sh
+++ b/hack/podman-commands.sh
@@ -34,7 +34,7 @@ function podman_man() {
# This md file has a table of the form:
# | [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/source/man/$1.1.md
+ sed -ne 's/^|\s\+\[podman-\([a-z]\+\)(1.*/\1/p' <docs/source/markdown/$1.1.md
# Special case: there is no podman-help man page, nor need for such.
echo "help"
@@ -48,7 +48,7 @@ function podman_man() {
# | cmd | [podman-cmd(1)](podman-cmd.1.md) | Description ... |
# For all such we find, with 'podman- in the second column, print the
# first column (with whitespace trimmed)
- awk -F\| '$3 ~ /podman-/ { gsub(" ","",$2); print $2 }' < docs/source/man/$1.1.md
+ awk -F\| '$3 ~ /podman-/ { gsub(" ","",$2); print $2 }' < docs/source/markdown/$1.1.md
fi
}