mirror of https://github.com/containers/podman.git
WIP - ignore man pages for commands besides podman
Signed-off-by: Ryan Whalen <rj.whalen@gmail.com>
This commit is contained in:
parent
2d95ede7a2
commit
c153895424
|
@ -41,6 +41,11 @@ done
|
||||||
# Make sure the descriptive text in podman-foo.1.md matches the one
|
# Make sure the descriptive text in podman-foo.1.md matches the one
|
||||||
# in the table in podman.1.md.
|
# in the table in podman.1.md.
|
||||||
for md in *-*.1.md;do
|
for md in *-*.1.md;do
|
||||||
|
# Currently the only exception.
|
||||||
|
if [ "$md" = "podman-remote.1.md" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
desc=$(egrep -A1 '^#* NAME' $md|tail -1|sed -e 's/^podman[^ ]\+ - //')
|
desc=$(egrep -A1 '^#* NAME' $md|tail -1|sed -e 's/^podman[^ ]\+ - //')
|
||||||
|
|
||||||
# podman.1.md has a two-column table; podman-*.1.md all have three.
|
# podman.1.md has a two-column table; podman-*.1.md all have three.
|
||||||
|
|
Loading…
Reference in New Issue