ITS#8704 add missing opt flags in prev commit

mdb.master
Howard Chu 5 years ago
parent 0e895ffe43
commit a2121bb078
  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