summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.