discuss@mandoc.bsd.lv
 help / color / Atom feed
* [PATCH docbook2mdoc] minor manpage fixes
@ 2019-03-17  9:55 Stephen Gregoratto
  2019-03-17 13:57 ` Ingo Schwarze
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Gregoratto @ 2019-03-17  9:55 UTC (permalink / raw)
  To: discuss

- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH docbook2mdoc] minor manpage fixes
  2019-03-17  9:55 [PATCH docbook2mdoc] minor manpage fixes Stephen Gregoratto
@ 2019-03-17 13:57 ` Ingo Schwarze
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Schwarze @ 2019-03-17 13:57 UTC (permalink / raw)
  To: Stephen Gregoratto; +Cc: discuss

Hi Stephen,

Stephen Gregoratto wrote on Sun, Mar 17, 2019 at 08:55:06PM +1100:

> - 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`

Committed, thanks.
  Ingo


> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-17  9:55 [PATCH docbook2mdoc] minor manpage fixes Stephen Gregoratto
2019-03-17 13:57 ` Ingo Schwarze

discuss@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-discuss

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.discuss


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git