discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Aisha Tammy <openbsd@aisha.cc>
To: discuss@mandoc.bsd.lv
Subject: Allowing "?" as a flag in mdoc
Date: Sun, 24 Jan 2021 10:39:19 -0500	[thread overview]
Message-ID: <00b26605-75e1-b872-f754-22edc135f739@aisha.cc> (raw)

[-- 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 --]

             reply	other threads:[~2021-01-24 15:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 15:39 Aisha Tammy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00b26605-75e1-b872-f754-22edc135f739@aisha.cc \
    --to=openbsd@aisha.cc \
    --cc=discuss@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).