Skip to content

Commit

Permalink
docs/bfs.1: Fix some CHECKSTYLE warnings
Browse files Browse the repository at this point in the history
And add a new `make check-man` target.
  • Loading branch information
tavianator committed Jun 17, 2024
1 parent 14e4e42 commit 16a666d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/bfs.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -71,7 +71,7 @@ will also accept
.I \-N
or
.IR +N .
.IR \-N
.I \-N
means "less than
.IR N ,"
and
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 16a666d

Please sign in to comment.