diff --git a/mdb_dump.1 b/mdb_dump.1 index 2aa4021f..8186b1fb 100644 --- a/mdb_dump.1 +++ b/mdb_dump.1 @@ -5,7 +5,6 @@ mdb_dump \- LMDB environment export tool .SH SYNOPSIS .B mdb_dump -.BR \ envpath [\c .BR \-V ] [\c @@ -19,6 +18,7 @@ mdb_dump \- LMDB environment export tool [\c .BR \-a \ | .BI \-s \ subdb\fR] +.BR \ envpath .SH DESCRIPTION The .B mdb_dump diff --git a/mdb_dump.c b/mdb_dump.c index 118b746d..b0ea31ea 100644 --- a/mdb_dump.c +++ b/mdb_dump.c @@ -152,7 +152,7 @@ static int dumpit(MDB_txn *txn, MDB_dbi dbi, char *name) static void usage(char *prog) { - fprintf(stderr, "usage: %s dbpath [-V] [-f output] [-l] [-n] [-p] [-a|-s subdb]\n", prog); + fprintf(stderr, "usage: %s [-V] [-f output] [-l] [-n] [-p] [-a|-s subdb] dbpath\n", prog); exit(EXIT_FAILURE); } diff --git a/mdb_load.1 b/mdb_load.1 index 68e6b18c..75d58108 100644 --- a/mdb_load.1 +++ b/mdb_load.1 @@ -5,7 +5,6 @@ mdb_load \- LMDB environment import tool .SH SYNOPSIS .B mdb_load -.BR \ envpath [\c .BR \-V ] [\c @@ -18,6 +17,7 @@ mdb_load \- LMDB environment import tool .BR \-N ] [\c .BR \-T ] +.BR \ envpath .SH DESCRIPTION The .B mdb_load diff --git a/mdb_load.c b/mdb_load.c index a55d4c2d..fe2334a7 100644 --- a/mdb_load.c +++ b/mdb_load.c @@ -282,7 +282,7 @@ badend: static void usage(void) { - fprintf(stderr, "usage: %s dbpath [-V] [-f input] [-n] [-s name] [-N] [-T]\n", prog); + fprintf(stderr, "usage: %s [-V] [-f input] [-n] [-s name] [-N] [-T] dbpath\n", prog); exit(EXIT_FAILURE); } diff --git a/mdb_stat.1 b/mdb_stat.1 index e6ee5ad5..351c0175 100644 --- a/mdb_stat.1 +++ b/mdb_stat.1 @@ -5,7 +5,6 @@ mdb_stat \- LMDB environment status tool .SH SYNOPSIS .B mdb_stat -.BR \ envpath [\c .BR \-V ] [\c @@ -19,6 +18,7 @@ mdb_stat \- LMDB environment status tool [\c .BR \-a \ | .BI \-s \ subdb\fR] +.BR \ envpath .SH DESCRIPTION The .B mdb_stat diff --git a/mdb_stat.c b/mdb_stat.c index 2a286350..a37e39a7 100644 --- a/mdb_stat.c +++ b/mdb_stat.c @@ -31,7 +31,7 @@ static void prstat(MDB_stat *ms) static void usage(char *prog) { - fprintf(stderr, "usage: %s dbpath [-V] [-n] [-e] [-r[r]] [-f[f[f]]] [-a|-s subdb]\n", prog); + fprintf(stderr, "usage: %s [-V] [-n] [-e] [-r[r]] [-f[f[f]]] [-a|-s subdb] dbpath\n", prog); exit(EXIT_FAILURE); }