diff options
author | Doug Ledford <dledford@redhat.com> | 2010-04-13 22:21:10 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2010-04-13 22:21:10 -0400 |
commit | 57f145e73ab65a76f5b3a560de00b11c72ccaa56 (patch) | |
tree | b76293392b7d266109314064169352238cbcaf23 | |
parent | b3346c1c01e4620b82044e6033db89505a0ef785 (diff) | |
download | mdadm-57f145e73ab65a76f5b3a560de00b11c72ccaa56.tar.gz mdadm-57f145e73ab65a76f5b3a560de00b11c72ccaa56.tar.xz mdadm-57f145e73ab65a76f5b3a560de00b11c72ccaa56.zip |
Fix up discrepancy in whether the long option is --rebuild or --rebuild-map
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | ReadMe.c | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -190,6 +190,8 @@ struct option long_options[] = { /* For Incremental */ {"rebuild-map", 0, 0, 'r'}, + {"rebuild", 0, 0, 'r'}, /* support both versions, our internal help and + our man page disagreed for a while */ {"grab", 0, 0, 'g'}, /* grab devices for hot spare use */ {0, 0, 0, 0} }; @@ -548,18 +550,18 @@ char Help_incr[] = "and then both fail (if needed) and remove the device from that array.\n" "\n" "Options that are valid with incremental assembly (-I --incremental) 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" -" --grab -g : Check if the device belongs to a path we own via\n" -" : any DOMAIN entry lines in mdadm.conf, and if so,\n" -" : take it for the purpose listed in said DOMAIN line.\n" -" --fail -f : First fail (if needed) and then remove device from\n" -" : any array that it is a member of.\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" +" --grab -g : Check if the device belongs to a path we own via\n" +" : any DOMAIN entry lines in mdadm.conf, and if so,\n" +" : take it for the purpose listed in said DOMAIN line.\n" +" --fail -f : First fail (if needed) and then remove device from\n" +" : any array that it is a member of.\n" ; char Help_config[] = |