Skip to content
Snippets Groups Projects
Commit 784757fa authored by Howard Chu's avatar Howard Chu
Browse files

ITS#7465 fail if both -a and -s specified

parent 9a5d4370
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,8 @@ int main(int argc, char *argv[])
while ((i = getopt(argc, argv, "aefns:")) != EOF) {
switch(i) {
case 'a':
if (subname)
usage(prog);
alldbs++;
break;
case 'e':
......@@ -74,6 +76,8 @@ int main(int argc, char *argv[])
envflags |= MDB_NOSUBDIR;
break;
case 's':
if (alldbs)
usage(prog);
subname = optarg;
break;
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment