]> git.cameronkatri.com Git - mandoc.git/commit
While we do not recommend the idiom ".Fl Fl long" for long options
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 26 Apr 2020 21:41:07 +0000 (21:41 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 26 Apr 2020 21:41:07 +0000 (21:41 +0000)
commitdb42cb7f0b926817aff8c41cac4ad993a3db85aa
tree1d71c079f6f40e5c9b428d1a9116a445dbe86d16
parentaea55337f3f72f530978a5e20d38888df13d5b2b
While we do not recommend the idiom ".Fl Fl long" for long options
because it is an abuse of semantic macros for device-specific
presentational effects, this idiom is so widespread that it makes
sense to convert it to the recommended ".Fl \-long" during the
validation phase.  For example, this improves HTML formatting
in pages where authors have used the dubious .Fl Fl.

Feature suggested by Steffen Nurpmeso <steffen at sdaoden dot eu>
on freebsd-hackers.
TODO
mdoc_validate.c
regress/mdoc/Fl/Makefile
regress/mdoc/Fl/long.in [new file with mode: 0644]
regress/mdoc/Fl/long.out_ascii [new file with mode: 0644]
regress/mdoc/Fl/long.out_html [new file with mode: 0644]
regress/mdoc/Fl/long.out_markdown [new file with mode: 0644]
regress/mdoc/Fl/long.out_tag [new file with mode: 0644]