]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#8704 add missing opt flags in prev commit
authorHoward Chu <hyc@openldap.org>
Sun, 10 Nov 2019 05:00:47 +0000 (05:00 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 10 Nov 2019 05:00:47 +0000 (05:00 +0000)
libraries/liblmdb/mdb_dump.c
libraries/liblmdb/mdb_stat.c

index 068dab5a8ed825ce70fcfa4aa3c19e0ff62e22b4..231e57a2541234ffe0df827fb64b7b7c9f0cfa55 100644 (file)
@@ -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);
index 08f30befd6606cf77880c421dc0a322d608d03db..d91490bef6c6986e3ed45793ec4295e0f00fd63b 100644 (file)
@@ -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);