|
|
@ -62,6 +62,8 @@ int main(int argc, char *argv[]) |
|
|
|
while ((i = getopt(argc, argv, "aefns:")) != EOF) { |
|
|
|
while ((i = getopt(argc, argv, "aefns:")) != EOF) { |
|
|
|
switch(i) { |
|
|
|
switch(i) { |
|
|
|
case 'a': |
|
|
|
case 'a': |
|
|
|
|
|
|
|
if (subname) |
|
|
|
|
|
|
|
usage(prog); |
|
|
|
alldbs++; |
|
|
|
alldbs++; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'e': |
|
|
|
case 'e': |
|
|
@ -74,6 +76,8 @@ int main(int argc, char *argv[]) |
|
|
|
envflags |= MDB_NOSUBDIR; |
|
|
|
envflags |= MDB_NOSUBDIR; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 's': |
|
|
|
case 's': |
|
|
|
|
|
|
|
if (alldbs) |
|
|
|
|
|
|
|
usage(prog); |
|
|
|
subname = optarg; |
|
|
|
subname = optarg; |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|