Skip to content

Commit

Permalink
Makefile: man page: rename containerd.1 to containerd.8
Browse files Browse the repository at this point in the history
The generated file was incorrectly named containerd.1 and should
be in section 8 (see [MAN-PAGES(7)]: Sections of the manual pages)

This patch fixes the filename and updates references to containerd(1)
to refer to containerd(8).

The generated file itself already had the correct section set in its
header, so didn't need updating.

[MAN-PAGES(7)]: http://man7.org/linux/man-pages/man7/man-pages.7.html

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Apr 2, 2020
1 parent e852da5 commit 356782c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ endif

# Project binaries.
COMMANDS=ctr containerd containerd-stress
MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5
MANPAGES=ctr.1 containerd.8 containerd-config.1 containerd-config.toml.5

ifdef BUILDTAGS
GO_BUILDTAGS = ${BUILDTAGS}
Expand Down Expand Up @@ -214,9 +214,9 @@ mandir:
@mkdir -p man

# Kept for backwards compatability
genman: man/containerd.1 man/ctr.1
genman: man/containerd.8 man/ctr.1

man/containerd.1: FORCE
man/containerd.8: FORCE
@echo "$(WHALE) $@"
go run cmd/gen-manpages/main.go containerd man/

Expand Down
2 changes: 1 addition & 1 deletion docs/man/containerd-config.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Phil Estes <estesp@gmail.com>

## SEE ALSO

ctr(1), containerd(1), containerd-config.toml(5)
ctr(1), containerd(8), containerd-config.toml(5)
2 changes: 1 addition & 1 deletion docs/man/containerd-config.toml.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ Phil Estes <estesp@gmail.com>

## SEE ALSO

ctr(1), containerd-config(1), containerd(1)
ctr(1), containerd-config(1), containerd(8)

0 comments on commit 356782c

Please sign in to comment.