summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-28 15:57:32 -0700
committerEd Santiago <santiago@redhat.com>2019-03-01 06:53:52 -0700
commit6f474c57042127417048fc785ebf7b89ea09b175 (patch)
tree85044db617f6c784b6c1c33985323d58011ff155 /cmd/podman
parent91373151335a84c5b78dbe46362cb678807d7509 (diff)
downloadpodman-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/podman')
-rw-r--r--cmd/podman/refresh.go1
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())
}