summaryrefslogtreecommitdiffstats
path: root/mdmon.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-08-20 02:33:50 +0200
committerNeilBrown <neilb@suse.de>2012-08-20 02:33:50 +0200
commitbcd2b4485a373943e8c618aba6ba87846356e73e (patch)
tree1fd9477ee474fd9973408b2776aadf420d026463 /mdmon.c
parentddf: hack to fix container recognition. (diff)
downloadmdadm-bcd2b4485a373943e8c618aba6ba87846356e73e.tar.xz
mdadm-bcd2b4485a373943e8c618aba6ba87846356e73e.zip
mdmon: fix arg processing for -a
'-a' was not being recognised as an abbreviation for '--all'. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r--mdmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdmon.c b/mdmon.c
index 294cd72c..d06e4757 100644
--- a/mdmon.c
+++ b/mdmon.c
@@ -299,7 +299,7 @@ int main(int argc, char *argv[])
{NULL, 0, NULL, 0}
};
- while ((opt = getopt_long(argc, argv, "th", options, NULL)) != -1) {
+ while ((opt = getopt_long(argc, argv, "tha", options, NULL)) != -1) {
switch (opt) {
case 'a':
container_name = argv[optind-1];