Commit ba4b62d
Wrap FILES section paths in .nf/.fi to suppress groff line-adjustment warnings
The FILES section emits long glob patterns like
~/.config/station/{*.toml,*.yaml,...,pyproject.toml} as a single italic token.
In fill mode (the default after .SH), groff tries to justify the line and
emits "cannot adjust line" when the token is wider than the text area. This
caused test_generated_roff_passes_groff_lint to fail on ubuntu-24.04-arm for
both the station and forecast fixtures.
Wrapping each path in .nf/.fi (no-fill/restore) tells troff not to adjust
these lines, matching the same treatment used for \b-marked help text. The
separator between multiple entries is changed from .br to .sp for better
vertical spacing in no-fill mode.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1fc6e32 commit ba4b62d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
362 | 363 | | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
| |||
0 commit comments