]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fix mkfs --verbose and man page
authorPhillip Susi <psusi@ubuntu.com>
Fri, 7 Feb 2014 22:01:20 +0000 (17:01 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 10 Feb 2014 17:58:39 +0000 (18:58 +0100)
mkfs did not actually accept the long form --verbose option.
Also the man page seemed to indicate that version/verbose/help
options were passed to the filesystem specific utility when this
is not the case.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
disk-utils/mkfs.8
disk-utils/mkfs.c

index 9e82bc46517c6ba68727757a1fae3fa4590c608a..3b905b28452999ed44b6254212a94ba5595c7ac4 100644 (file)
@@ -53,8 +53,6 @@ If not specified, the default filesystem type
 .TP
 .I fs-options
 Filesystem-specific options to be passed to the real filesystem builder.
-Although not guaranteed, the following options are supported
-by most filesystem builders.
 .TP
 .BR \-V , " \-\-verbose"
 Produce verbose output, including all filesystem-specific commands
@@ -73,10 +71,7 @@ Display help text and exit.
 .SH BUGS
 All generic options must precede and not be combined with
 filesystem-specific options.
-Some filesystem-specific programs do not support the
-.B -V
-(verbose) option, nor return meaningful exit codes.
-Also, some filesystem-specific programs do not automatically
+Some filesystem-specific programs do not automatically
 detect the device size and require the
 .I size
 parameter to be specified.
index a6795cb0e4f7f61fc6b0bd773ff4a5750c49fe28..cb34951b207cbe9670c43d779d90598b291c7a7c 100644 (file)
@@ -73,6 +73,7 @@ int main(int argc, char **argv)
        static const struct option longopts[] = {
                {"type", required_argument, NULL, 't'},
                {"version", no_argument, NULL, VERSION_OPTION},
+               {"verbose", no_argument, NULL, 'V'},
                {"help", no_argument, NULL, 'h'},
                {NULL, 0, NULL, 0}
        };