]> 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>
Sat, 10 Oct 2020 12:24:49 +0000 (13:24 +0100)
libraries/liblmdb/mdb_dump.c
libraries/liblmdb/mdb_stat.c

index 4942d41abef0c508912d88be95b219fe8a0dda72..ef296ce1d1af1d5d1e544020ec9c4ae2c0928209 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 a7f7eff450bb6446d6c94d1ee9dc98b42ed1d285..54a6257a202bbb1dd0f6c2c97be45dabad15f6c7 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);