From a2121bb0781c259c41f94cbad9a64a4ed51bc26c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 10 Nov 2019 05:00:47 +0000 Subject: [PATCH] ITS#8704 add missing opt flags in prev commit --- libraries/liblmdb/mdb_dump.c | 2 +- libraries/liblmdb/mdb_stat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblmdb/mdb_dump.c b/libraries/liblmdb/mdb_dump.c index 068dab5..231e57a 100644 --- a/libraries/liblmdb/mdb_dump.c +++ b/libraries/liblmdb/mdb_dump.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); diff --git a/libraries/liblmdb/mdb_stat.c b/libraries/liblmdb/mdb_stat.c index 08f30be..d91490b 100644 --- a/libraries/liblmdb/mdb_stat.c +++ b/libraries/liblmdb/mdb_stat.c @@ -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);