summaryrefslogtreecommitdiff
path: root/ReadMe.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-10-31 10:41:50 +1100
committerNeilBrown <neilb@suse.de>2013-10-31 10:41:50 +1100
commitf33a71f107a5ad35345215ee8ebf9920a00099b0 (patch)
treed2625c5e474630c8c283db18263384a89cc22570 /ReadMe.c
parent422da715d933f61c55ca50defc8b7c969af2237f (diff)
Add support for --add-spare
--add-spare is like --add, but a --re-add is never attempted. So it is equivalent to two separate commands: --zero-metadata --add Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ReadMe.c b/ReadMe.c
index d742cc70..45046ef7 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -153,6 +153,7 @@ struct option long_options[] = {
/* Management */
{"add", 0, 0, Add},
+ {"add-spare", 0, 0, AddSpare},
{"remove", 0, 0, Remove},
{"fail", 0, 0, Fail},
{"set-faulty",0, 0, Fail},