mdmon: fix arg processing for -a

'-a' was not being recognised as an abbreviation for '--all'.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2012-08-20 10:33:50 +10:00
parent 542ef4ece4
commit bcd2b4485a
1 changed files with 1 additions and 1 deletions

View File

@ -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];