bug-fdisk
[Top][All Lists]
Advanced

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

[bug-fdisk] Misspelled option; correct (but unrecognized by fdisk) spell


From: Sami Liedes
Subject: [bug-fdisk] Misspelled option; correct (but unrecognized by fdisk) spelling in the manpage
Date: Tue, 20 Apr 2010 02:52:35 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi!

There's a misspelled option in fdisk, and additionally a discrepancy
between the --help and the manpage.

See fdisk --help:

------------------------------------------------------------
$ fdisk --help
Usage: fdisk [OPTION]... [DEVICE]

OPTIONs:
[...]
  -C, --cilyndres    specify the number of cylinders, actually does nothing
        ^^^^^^^^^
[...]
------------------------------------------------------------

However the manpage indicates the long form is the correctly spelled
--cylinders:

------------------------------------------------------------
  -C, --cylinders=CYLINDERS
         Specify the number of cylinders of the disk. Currently does
         nothing, it is left for Linux fdisk compatibility.
------------------------------------------------------------

Turns out the help is correct and the manpage wrong:

------------------------------------------------------------
$ fdisk --cylinders
fdisk: unrecognized option '--cylinders'
$ fdisk --cilyndres
fdisk: option '--cilyndres' requires an argument
------------------------------------------------------------

I suggest the option be renamed to --cylinders in --help output, while
the misspelled form --cilyndres could be supported for backwards
compatibility.

        Sami

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]