summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-17 14:06:21 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-17 17:58:35 -0400
commit16a666d3767c7db5c2e352c02f09aedca723d2a1 (patch)
tree22fe3d33ecaeb7ee33062d4ae2604289fb50db67
parent14e4e428252126d10febb7a0684b68bcf02532bc (diff)
downloadbfs-16a666d3767c7db5c2e352c02f09aedca723d2a1.tar.xz
docs/bfs.1: Fix some CHECKSTYLE warnings
And add a new `make check-man` target.
-rw-r--r--Makefile5
-rw-r--r--docs/bfs.16
2 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2679c85..d21cbb3 100644
--- a/Makefile
+++ b/Makefile
@@ -215,6 +215,11 @@ check-install::
bin/bfs pkg -not -type d -print -exit 1
${RM} -r pkg
+# Check man page markup
+check-man::
+ ${MSG} "[LINT] docs/bfs.1" \
+ groff -man -rCHECKSTYLE=3 -ww -b -z docs/bfs.1
+
## Cleanup (`make clean`)
# Clean all build products
diff --git a/docs/bfs.1 b/docs/bfs.1
index 625ee3b..cc9504e 100644
--- a/docs/bfs.1
+++ b/docs/bfs.1
@@ -1,4 +1,4 @@
-.TH BFS 1
+.TH BFS 1 2024-06-17 "bfs 3.3.1"
.SH NAME
bfs \- breadth-first search for your files
.SH SYNOPSIS
@@ -71,7 +71,7 @@ will also accept
.I \-N
or
.IR +N .
-.IR \-N
+.I \-N
means "less than
.IR N ,"
and
@@ -917,7 +917,7 @@ Finds broken symbolic links.
.TP
.B bfs \-name config \-exclude \-name .git
Finds all files named
-.BR config,
+.BR config ,
skipping every
.B .git
directory.