diff options
author | NeilBrown <neilb@suse.de> | 2012-08-20 02:33:50 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-08-20 02:33:50 +0200 |
commit | bcd2b4485a373943e8c618aba6ba87846356e73e (patch) | |
tree | 1fd9477ee474fd9973408b2776aadf420d026463 /mdmon.c | |
parent | ddf: hack to fix container recognition. (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |