Subject: misc/32118: disklabel(8): wrong output, interprets flag as command
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 11/19/2005 14:21:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         32118
>Category:       misc
>Synopsis:       disklabel(8) shows wrong usage b/c it interprets flag
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 19 14:21:00 +0000 2005
>Originator:     Martin J. Laubach
>Release:        NetBSD 3.0_RC1
System: NetBSD 3.0_RC1 NetBSD 3.0_RC1 (ASPARAGUS.l) #0: Thu Nov 17 22:54:18 UTC 2005 i386
Architecture: i386
Machine: i386

  man disklabel displays the following:

|      disklabel [-CFrt] disk
|      disklabel -w [-] [-f disktab] disk disktype [packid]
|                   ^^^
|      disklabel -e [-CFIr] disk
|      disklabel -i [-FIr] disk
|      disklabel -R [-] disk protofile
|                   ^^^

  This is caused by the flags argument being interpreted by roff, the
lines in question read:

| .Op Fl Fr  

  and obviously "Fr" is interpreted to be something by our macros.

  man disklabel

  Somehow escape the "Fr" or just change the ordering (rF).