diff options
author | Ed Santiago <santiago@redhat.com> | 2019-02-28 15:57:32 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-03-01 06:53:52 -0700 |
commit | 6f474c57042127417048fc785ebf7b89ea09b175 (patch) | |
tree | 85044db617f6c784b6c1c33985323d58011ff155 /cmd | |
parent | 91373151335a84c5b78dbe46362cb678807d7509 (diff) | |
download | podman-6f474c57042127417048fc785ebf7b89ea09b175.tar.gz podman-6f474c57042127417048fc785ebf7b89ea09b175.tar.bz2 podman-6f474c57042127417048fc785ebf7b89ea09b175.zip |
Fix link inconsistencies in man pages
Found via:
for i in docs/*.md;do x=$(perl -ne 'if (/\[(podman-.*?)\(1\)\]\((podman-.*?)\.1\.md/) { print " $1 != $2\n" if $1 ne $2; print " ENOENT $2\n" unless -e "docs/$2.1.md" }' <$i); if [ -n "$x" ]; then echo $i; echo "$x";fi;done
...which is probably a good candidate for another CI hook,
except I have no idea how to rewrite it in awk.
Additionally, mark `podman refresh` and `podman container refresh`
as hidden, remove its man page, and remove references to it from
all other man pages.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/refresh.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/refresh.go b/cmd/podman/refresh.go index 641748452..193be6953 100644 --- a/cmd/podman/refresh.go +++ b/cmd/podman/refresh.go @@ -26,6 +26,7 @@ var ( ) func init() { + _refreshCommand.Hidden = true refreshCommand.Command = _refreshCommand refreshCommand.SetUsageTemplate(UsageTemplate()) } |