[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8259) LMDB utilities print usage incorrectly



Full_Name: Jan-Piet Mens
Version: LMDB 0.9.16
OS: OSX, Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2a02:908:b41:38e0:241a:be7c:787f:620)


LMDB's utilities (mdb_stat, mdb_copy, etc) incorrectly specify that dbpath
(envpath) comes before options. 

$ ./mdb_stat jp -a
usage: ./mdb_stat dbpath [-V] [-n] [-e] [-r[r]] [-f[f[f]]] [-a|-s subdb]

$ ./mdb_stat -a jp
Status of Main DB
...

This also requires a documentation update in the man pages.