From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.sgregoratto.me (mail.sgregoratto.me [149.28.166.45]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id faf7f90d for ; Sun, 17 Mar 2019 04:55:11 -0500 (EST) Received: from mail.sgregoratto.me (localhost [127.0.0.1]) by mail.sgregoratto.me (Postfix) with ESMTP id C725F3E8C4 for ; Sun, 17 Mar 2019 20:55:07 +1100 (AEDT) Authentication-Results: mail.sgregoratto.me (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=sgregoratto.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sgregoratto.me; h=user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:to:from:from:date:date; s=dkim; t=1552816507; x=1555408508; bh=swBdSfAAzcygTKirCPQC/AT3 HOzGnmhb9xJlPrc8CXU=; b=qvn87tQ1dE+N/ey8XxcxFrnAXCnzlG671Cc04L5l N2sehAntRdQSdRA1g60xMm/QfexKw4MlvNg7t/PdNkbWkwMihXl0HaiPrcS6jkV6 dIh0siMkum9SB90WqI1A033YQAG0LmSBHavrg5YzvBfrvH7aFngkKSR4rEkUXuGn 0rY= X-Virus-Scanned: Debian amavisd-new at mail.sgregoratto.me Received: from mail.sgregoratto.me ([127.0.0.1]) by mail.sgregoratto.me (mail.sgregoratto.me [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nd9FCwMUSy_r for ; Sun, 17 Mar 2019 20:55:07 +1100 (AEDT) Received: from localhost (172.44.179.58.sta.dodo.net.au [58.179.44.172]) by mail.sgregoratto.me (Postfix) with ESMTPSA id D20F63E8C3 for ; Sun, 17 Mar 2019 20:55:06 +1100 (AEDT) Date: Sun, 17 Mar 2019 20:55:06 +1100 From: Stephen Gregoratto To: discuss@mandoc.bsd.lv Subject: [PATCH docbook2mdoc] minor manpage fixes Message-ID: <20190317095443.ltb74mgv5xiv4ghb@BlackBox> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20180716 - Add the optional -W argument to the synopsis. - Remove an extraneous newline. - Change the shell prompt to match $/# convention. - Shorten `mandoc | more` to `mandoc -l` Index: docbook2mdoc.1 =================================================================== RCS file: /cvs/docbook2mdoc/docbook2mdoc.1,v retrieving revision 1.8 diff -u -p -r1.8 docbook2mdoc.1 --- docbook2mdoc.1 29 Jun 2017 12:11:57 -0000 1.8 +++ docbook2mdoc.1 17 Mar 2019 09:52:28 -0000 @@ -22,14 +22,14 @@ .Nd Convert DocBook refentry to mdoc .Sh SYNOPSIS .Nm docbook2mdoc +.Op Fl W .Op Ar file .Sh DESCRIPTION The .Nm utility reads .Ar file -and -generates +and generates .Xr mdoc 7 and .Xr eqn 7 @@ -64,7 +64,7 @@ through .Xr mandoc 1 and a pager: .Pp -.Dl % docbook2mdoc foo.xml | mandoc | more +.Dl $ docbook2mdoc foo.xml | mandoc -l .Sh SEE ALSO .Xr mandoc 1 , .Xr eqn 7 , -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv