discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Allowing "?" as a flag in mdoc
@ 2021-01-24 15:39 Aisha Tammy
  2021-01-24 15:49 ` Aisha Tammy
  2021-01-24 17:01 ` Raf Czlonka
  0 siblings, 2 replies; 6+ messages in thread
From: Aisha Tammy @ 2021-01-24 15:39 UTC (permalink / raw)
  To: discuss

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Hi,
  I'm trying to create a manpage where the command takes a flag "?"
The command would (to display help):
  module -?

For this I created in module.1:

.Bl -tag -width Ds -compact
.It Fl h , ? , H , -help
Show the help message.
.El

But the output of this looks:

     -h,?, -H, --help
             Show the help message.

Without the - before ?

Can anyone tell how I can display a -? before the flag?

Thanks,
Aisha

[-- Attachment #2: Type: text/html, Size: 754 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-24 17:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 15:39 Allowing "?" as a flag in mdoc Aisha Tammy
2021-01-24 15:49 ` Aisha Tammy
2021-01-24 17:01 ` Raf Czlonka
2021-01-24 17:04   ` Aisha Tammy
2021-01-24 17:10     ` Raf Czlonka
2021-01-24 17:36       ` Aisha Tammy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).