]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Correct documentation for --rebuild-map
authorNeilBrown <neilb@suse.de>
Wed, 30 Jun 2010 06:52:54 +0000 (16:52 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 30 Jun 2010 06:52:54 +0000 (16:52 +1000)
In some places it is referred to as "--rebuild", and while
that works due to getopt allowing prefixes, it could appear
confusing (rebuild means other things too) and being explicit
is some safeguard if we want to add e.g. --rebuild-foo later.

Reported-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
ReadMe.c
mdadm.8.in

index 9d5a21129aef477a7b927f8b85631eaa2fb052f6..a3f556a865b420f8ea6f511eec348cb2463b576f 100644 (file)
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -542,13 +542,13 @@ char Help_incr[] =
 "devices, it will be started.\n"
 "\n"
 "Options that are valid with incremental assembly (-I --incremental) more are:\n"
-"  --run       -R  : run arrays as soon as a minimal number of devices are\n"
-"                  : present rather than waiting for all expected.\n"
-"  --quiet     -q  : Don't print any information messages, just errors.\n"
-"  --rebuild   -r  : Rebuild the 'map' file that mdadm uses for tracking\n"
-"                  : partial arrays.\n"
-"  --scan      -s  : Use with -R to start any arrays that have the minimal\n"
-"                  : required number of devices, but are not yet started.\n"
+"  --run         -R : run arrays as soon as a minimal number of devices are\n"
+"                   : present rather than waiting for all expected.\n"
+"  --quiet       -q : Don't print any information messages, just errors.\n"
+"  --rebuild-map -r : Rebuild the 'map' file that mdadm uses for tracking\n"
+"                   : partial arrays.\n"
+"  --scan        -s : Use with -R to start any arrays that have the minimal\n"
+"                   : required number of devices, but are not yet started.\n"
 ;
 
 char Help_config[] =
index 67fabf3c7d6cfec9f31a575b26d504b9e9469106..e5cc89e65280beca5b1a375a9be576bc6752a07f 100644 (file)
@@ -2145,7 +2145,7 @@ Usage:
 .I component-device
 .HP 12
 Usage:
-.B mdadm \-\-incremental \-\-rebuild
+.B mdadm \-\-incremental \-\-rebuild\-map
 .HP 12
 Usage:
 .B mdadm \-\-incremental \-\-run \-\-scan
@@ -2391,7 +2391,7 @@ pid of mdadm daemon to
 Try to incorporate newly discovered device into some array as
 appropriate.
 
-.B "  mdadm \-\-incremental \-\-rebuild \-\-run \-\-scan"
+.B "  mdadm \-\-incremental \-\-rebuild\-map \-\-run \-\-scan"
 .br
 Rebuild the array map from any current arrays, and then start any that
 can be started.