summaryrefslogtreecommitdiff
path: root/mdmon.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-08-20 10:33:50 +1000
committerNeilBrown <neilb@suse.de>2012-08-20 10:33:50 +1000
commitbcd2b4485a373943e8c618aba6ba87846356e73e (patch)
tree1fd9477ee474fd9973408b2776aadf420d026463 /mdmon.c
parent542ef4ece49ec1b18154fc8e850cdecf1c1fdb98 (diff)
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];