ITS#8704 add missing opt flags in prev commit

mdb.master3
Howard Chu 5 years ago
parent cf074e6c1b
commit 4bdf8bf5e3
  1. 2
      libraries/liblmdb/mdb_dump.c
  2. 2
      libraries/liblmdb/mdb_stat.c

@ -181,7 +181,7 @@ int main(int argc, char *argv[])
* -V: print version and exit
* (default) dump only the main DB
*/
while ((i = getopt(argc, argv, "af:lnps:V")) != EOF) {
while ((i = getopt(argc, argv, "af:lnps:vV")) != EOF) {
switch(i) {
case 'V':
printf("%s\n", MDB_VERSION_STRING);

@ -65,7 +65,7 @@ int main(int argc, char *argv[])
* -V: print version and exit
* (default) print stat of only the main DB
*/
while ((i = getopt(argc, argv, "Vaefnrs:")) != EOF) {
while ((i = getopt(argc, argv, "Vaefnrs:v")) != EOF) {
switch(i) {
case 'V':
printf("%s\n", MDB_VERSION_STRING);

Loading…
Cancel
Save