NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/49428: postinstall manpage is missing -x (xsrcdir) option



>Number:         49428
>Category:       misc
>Synopsis:       postinstall manpage is missing -x (xsrcdir) option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 23:40:00 +0000 2014
>Originator:     Travis Paul
>Release:        current
>Organization:
>Environment:
NetBSD ryoko.glob.io 7.99.2 NetBSD 7.99.2 (GENERIC) #0: Fri Nov 28 15:58:21 EST 2014  tpaul%ryoko.glob.io@localhost:/home/tpaul/src/netbsd/build/obj/amd6
4/sys/arch/amd64/compile/GENERIC amd64
>Description:
The postinstall script has an xsrcdir option (-x) that is in the script's usage but not mentioned in the postinstall man page.
>How-To-Repeat:
Compare the output of "/usr/sbin/postinstall -h" with "man postinstall"
>Fix:
See inline patch below. Is there a preferred format for patches?

--- postinstall.8       2014-11-28 17:58:51.000000000 -0500
+++ postinstall.8.new   2014-11-28 17:48:40.000000000 -0500
@@ -38,6 +38,7 @@
 .Op Fl a Ar arch
 .Op Fl d Ar destdir
 .Op Fl m Ar machine
+.Op Fl x Ar xsrcdir
 .Op Fl s Brq Ar srcdir | Ar tgzdir | Ar tgzfile
 .Ar operation
 .Op Ar item Op ...
@@ -72,6 +73,9 @@
 .It Fl m Ar machine
 MACHINE.
 Defaults to machine of the host operating system.
+.It Fl x Ar xsrcdir
+Location of the X11 source files.
+This must be a directory that contains a NetBSD xsrc tree.
 .It Fl s Brq Ar srcdir | Ar tgzdir | Ar tgzfile
 The location of the reference files, or the
 .Nx



Home | Main Index | Thread Index | Old Index