Closed umlaeute closed 2 months ago
currently the faust manpage uses an en-dash for long-options: https://github.com/grame-cncm/faust/blob/b498ef5159a0a02a98e92dd3d6998859fae2c8a8/documentation/man/man1/faust.1#L18
faust
with my groff/man, this renders as:
-i –inline-architecture-files inline architecture files.
while this does look nice, it prevents the user from being able to copy/paste the flag.
afaict, the correct thing would be to use double-dash (--) for long options (e.g. --inline-architecture-files).
--
--inline-architecture-files
This can be achieved (i think, I'm not a groff expert), by using \-\- instead of \[en], like so:
\-\-
\[en]
\f[B]\-i\f[R] \f[B]\-\-inline\-architecture\-files\f[R] inline
This then renders as:
-i --inline-architecture-files inline architecture files.
To be fixed here https://github.com/grame-cncm/faust/blob/master-dev/documentation/man/Makefile ?
Fixed in https://github.com/grame-cncm/faust/commit/52ccda8a84d627ad7128edabdd889ea280023ed0 and result visible here
currently the
faust
manpage uses an en-dash for long-options: https://github.com/grame-cncm/faust/blob/b498ef5159a0a02a98e92dd3d6998859fae2c8a8/documentation/man/man1/faust.1#L18with my groff/man, this renders as:
while this does look nice, it prevents the user from being able to copy/paste the flag.
afaict, the correct thing would be to use double-dash (
--
) for long options (e.g.--inline-architecture-files
).This can be achieved (i think, I'm not a groff expert), by using
\-\-
instead of, like so:\[en]
This then renders as: