doc: improve formatting of command synopses (2/2)

* find/find.1:
* locate/locate.1: Use unbreakable spaces between options and their
  arguments, potentially improving legibility.

The existing synopses are short enough that they don't break in such a
way as to promote confusion even on old-fashioned AT&T troffs that use a
line length of 65n in nroff mode (vs. groff man(7)'s historical 78n and
present-day 80n).  Thus this change merely makes the synopses robust to
future changes.

Discussed at:
https://lists.gnu.org/r/bug-findutils/2025-11/msg00094.html

Copyright-paperwork-exempt: Yes
This commit is contained in:
G. Branden Robinson 2025-11-18 21:45:19 -06:00 committed by Bernhard Voelker
parent d9cef9e7da
commit c2b67c7c92
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ find \- search for files in a directory hierarchy
.RB [ \-H ]
.RB [ \-L ]
.RB [ \-P ]
.RB [ \-D
.RB [ \-D\ \c
.IR debugopts ]
.RB [ \-O\c
.IR level ]

View File

@ -15,7 +15,7 @@ locate \- list files in databases that match a pattern
.nr sA \n(.j \" Save the adjustment mode.
.na
.B locate
.RB [ \-d
.RB [ \-d\ \c
.I path
|
.BI \*%\-\-database= path\c
@ -40,7 +40,7 @@ locate \- list files in databases that match a pattern
.RB [ \-b
|
.BR \*%\-\-basename ]
.RB [ \-l
.RB [ \-l\ \c
.I N
|
.BI \*%\-\-limit= N\c
@ -51,9 +51,9 @@ locate \- list files in databases that match a pattern
.RB [ \-r
|
.BR \*%\-\-regex ]
.RB \*%[ \-\-regextype
.RB \*%[ \-\-regextype\ \c
.IR R ]
.RB \*%[ \-\-max\-database\-age
.RB \*%[ \-\-max\-database\-age\ \c
.IR D ]
.RB [ \-P
|