discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Stephen Gregoratto <dev@sgregoratto.me>
To: discuss@mandoc.bsd.lv
Subject: [PATCH docbook2mdoc] minor manpage fixes
Date: Sun, 17 Mar 2019 20:55:06 +1100	[thread overview]
Message-ID: <20190317095443.ltb74mgv5xiv4ghb@BlackBox> (raw)

- 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

             reply	other threads:[~2019-03-17  9:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17  9:55 Stephen Gregoratto [this message]
2019-03-17 13:57 ` Ingo Schwarze

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=20190317095443.ltb74mgv5xiv4ghb@BlackBox \
    --to=dev@sgregoratto.me \
    --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).