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, NICE_REPLY_A autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 24157 invoked from network); 24 Jan 2021 17:04:17 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 24 Jan 2021 17:04:17 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 2f541ab8 for ; Sun, 24 Jan 2021 12:04:16 -0500 (EST) Received: from mail.aisha.cc (mail.aisha.cc [108.61.81.40]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id d8268dd3 for ; Sun, 24 Jan 2021 12:04:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aisha.cc; s=excisionRSA; t=1611507848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HJyeqeOsa5aNspJ3Tpj4tPUXqGQrF0o70UNTIhL+l/A=; b=J5iuuadtqR2gh28VcwPX87XsjijCGf3pzt0xDIHuJf5E1IY14M4f2qAnOp18UhhyTfF9FU /vzmVMu1KalsFUuDoF50pYS3AYtpxSiNSVmExpVdmDKlPOJ4i6pidx7r5WVtpZAPm1eIvs NOQaDsWkDI0F6LiDIyy246EylQSROoVckY9E9pz0CPaen/IqDshpZ/5osnwp3EWWmNbiSJ Px6IeVGoAOEea1gOxLnfm9Xnt4vX3Mp8x6Z6TEgVqwwHBfpmD5t012zvBLedE8mwQQ2agI x5LydU3SWiNENYE/da70Rtj4tgD0qCcSgUaSUjgJAZuYZMx4VxJ8bOKCvw93Gg== 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 3e694f33 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) auth=yes user=aisha@aisha.cc for ; Sun, 24 Jan 2021 12:04:07 -0500 (EST) Subject: Re: Allowing "?" as a flag in mdoc To: discuss@mandoc.bsd.lv References: <00b26605-75e1-b872-f754-22edc135f739@aisha.cc> From: Aisha Tammy Organization: aisha.cc Message-ID: <2af5e0f0-f58f-1e9f-d01f-a34a630de62b@aisha.cc> Date: Sun, 24 Jan 2021 12:04:06 -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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 1/24/21 12:01 PM, Raf Czlonka wrote: > On Sun, Jan 24, 2021 at 03:39:19PM GMT, Aisha Tammy wrote: >> 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 > > Hi Aisha, > > Prepend it with zero-width space ('\&').[0] > > [0] https://man.openbsd.org/mdoc.7#Delimiters > Thanks a lot! Aisha > Regards, > > Raf > -- > To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv > -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv