From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,T_TVD_MIME_EPI autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 14171 invoked from network); 24 Jan 2021 15:39:43 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 24 Jan 2021 15:39:43 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id b8217ab7 for ; Sun, 24 Jan 2021 10:39:32 -0500 (EST) Received: from mail.aisha.cc (mail.aisha.cc [108.61.81.40]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 966de3f4 for ; Sun, 24 Jan 2021 10:39:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aisha.cc; s=excisionRSA; t=1611502765; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=JRDH6WBwi9EceVvgBeX486NxBYuvyaQsLwCOJzApjXs=; b=O1uqHQxjZw/0NjbszUQNG3cU4PHQ01USzoEd7GHOe7dh8n35sSEp+dNUseuEtnNVnp1hJJ 8a7EJC1KzJacuvI7wtC724J2odc4EVZ67vUeoC8j9HFlXxoGarIlsNvZWdUb4v3Ze8XL5Z /HoIKpoCM44wRsiHoNofJR8eLE0J/gi6XbmZ+2UEJvAuJjbyrvrr5Bpt/c+oAtg5o1lQm1 t/9pa2fpnxFNTyQUp8nEqOA0yu50DLaCD1pfA3+w7qxzQKJAclMRbNhfpaOixla1HjMeOF rh8jru4JFJV5COq2RQPCCgcnxpXXe3piQHrk1Nnh7GAnlJEw/ftP9GPoIGFUyQ== Received: from [192.168.1.129] (c-73-215-141-174.hsd1.nj.comcast.net [73.215.141.174]) by mail.aisha.cc (OpenSMTPD) with ESMTPSA id abef8880 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) auth=yes user=aisha@aisha.cc for ; Sun, 24 Jan 2021 10:39:24 -0500 (EST) To: discuss@mandoc.bsd.lv From: Aisha Tammy Organization: aisha.cc Subject: Allowing "?" as a flag in mdoc Message-ID: <00b26605-75e1-b872-f754-22edc135f739@aisha.cc> Date: Sun, 24 Jan 2021 10:39:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------781B17C3F643850240F38033" Content-Language: en-US This is a multi-part message in MIME format. --------------781B17C3F643850240F38033 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, =C2=A0 I'm trying to create a manpage where the command takes a flag "?" The command would (to display help): =C2=A0 module -? For this I created in module.1: =2EBl -tag -width Ds -compact =2EIt Fl h , ? , H , -help Show the help message. =2EEl But the output of this looks: =C2=A0=C2=A0=C2=A0=C2=A0 -h,?, -H, --help =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = Show the help message. Without the - before ? Can anyone tell how I can display a -? before the flag? Thanks, Aisha --------------781B17C3F643850240F38033 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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
--------------781B17C3F643850240F38033-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv