NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/43119: Incorrect flag order in mbrlabel(8) manpage
>Number: 43119
>Category: bin
>Synopsis: Incorrect flag order in mbrlabel(8) manpage
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 04 19:50:00 +0000 2010
>Originator: Bug Hunting
>Release: 5.99.25
>Organization:
>Environment:
>Description:
The order of flags in the mbrlabel(8) manpage is incorrect, as they are not in
alphanumerical order.
(Background: both the current order and wording of the `-r' and `-w' flags were
committed in revision 1.13 as suggested in PR bin/13503; i don't believe
reversing the order of the two, as has happened then in comparison to
revision 1.12, was done on purpose with the ease of reading in mind.
The `-s' flag was added in revision 1.15, probably simply being put after `-r'.)
>How-To-Repeat:
"man 8 mbrlabel".
>Fix:
$ cd /usr/src/sbin/mbrlabel/; cvs diff -u mbrlabel.8
Index: mbrlabel.8
===================================================================
RCS file: /cvsroot/src/sbin/mbrlabel/mbrlabel.8,v
retrieving revision 1.16
diff -u -r1.16 mbrlabel.8
--- mbrlabel.8 12 Jan 2006 20:37:23 -0000 1.16
+++ mbrlabel.8 4 Apr 2010 19:48:17 -0000
@@ -29,7 +29,7 @@
.\"
.\" $NetBSD: mbrlabel.8,v 1.16 2006/01/12 20:37:23 wiz Exp $
.\"
-.Dd December 27, 2005
+.Dd April 4, 2010
.Dt MBRLABEL 8
.Os
.Sh NAME
@@ -86,8 +86,6 @@
Force an update, even if there has been no change.
.It Fl q
Performs operations in a quiet fashion.
-.It Fl w
-Update the in-core label if it has been changed.
.It Fl r
In conjunction with
.Fl w ,
@@ -98,6 +96,8 @@
Useful if the disk has remapping drivers on it and the MBR is located
in a non-standard place.
Defaults to 0.
+.It Fl w
+Update the in-core label if it has been changed.
.El
.Sh SEE ALSO
.Xr disklabel 8 ,
Home |
Main Index |
Thread Index |
Old Index