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 /docs/podman-container.1.md | |
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 'docs/podman-container.1.md')
-rw-r--r-- | docs/podman-container.1.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/podman-container.1.md b/docs/podman-container.1.md index bb27200a1..1ba957480 100644 --- a/docs/podman-container.1.md +++ b/docs/podman-container.1.md @@ -20,7 +20,7 @@ The container command allows you to manage containers | create | [podman-create(1)](podman-create.1.md) | Create a new container. | | diff | [podman-diff(1)](podman-diff.1.md) | Inspect changes on a container or image's filesystem. | | exec | [podman-exec(1)](podman-exec.1.md) | Execute a command in a running container. | -| exists | [podman-exists(1)](podman-container-exists.1.md) | Check if a container exists in local storage | +| exists | [podman-container-exists(1)](podman-container-exists.1.md) | Check if a container exists in local storage | | export | [podman-export(1)](podman-export.1.md) | Export a container's filesystem contents as a tar archive. | | inspect | [podman-inspect(1)](podman-inspect.1.md) | Display a container or image's configuration. | | kill | [podman-kill(1)](podman-kill.1.md) | Kill the main process in one or more containers. | @@ -30,7 +30,6 @@ The container command allows you to manage containers | pause | [podman-pause(1)](podman-pause.1.md) | Pause one or more containers. | | port | [podman-port(1)](podman-port.1.md) | List port mappings for the container. | | prune | [podman-container-prune(1)](podman-container-prune.1.md)| Remove all stopped containers from local storage. | -| refresh | [podman-refresh(1)](podman-container-refresh.1.md) | Refresh the state of all containers | | restart | [podman-restart(1)](podman-restart.1.md) | Restart one or more containers. | | restore | [podman-container-restore(1)](podman-container-restore.1.md) | Restores one or more containers from a checkpoint. | | rm | [podman-rm(1)](podman-rm.1.md) | Remove one or more containers. | |