lmdb: ITS#8259 fix usage ordering.

Change-Id: I8c6f844e211b403a5652760da0e0a4836cbdf95b
This commit is contained in:
Howard Chu 2015-09-30 18:11:20 +01:00 committed by Leo Yuriev
parent ef72fbaea6
commit 3f27fb7822
6 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,6 @@
mdb_dump \- LMDB environment export tool mdb_dump \- LMDB environment export tool
.SH SYNOPSIS .SH SYNOPSIS
.B mdb_dump .B mdb_dump
.BR \ envpath
[\c [\c
.BR \-V ] .BR \-V ]
[\c [\c
@ -19,6 +18,7 @@ mdb_dump \- LMDB environment export tool
[\c [\c
.BR \-a \ | .BR \-a \ |
.BI \-s \ subdb\fR] .BI \-s \ subdb\fR]
.BR \ envpath
.SH DESCRIPTION .SH DESCRIPTION
The The
.B mdb_dump .B mdb_dump

View File

@ -152,7 +152,7 @@ static int dumpit(MDB_txn *txn, MDB_dbi dbi, char *name)
static void usage(char *prog) 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); exit(EXIT_FAILURE);
} }

View File

@ -5,7 +5,6 @@
mdb_load \- LMDB environment import tool mdb_load \- LMDB environment import tool
.SH SYNOPSIS .SH SYNOPSIS
.B mdb_load .B mdb_load
.BR \ envpath
[\c [\c
.BR \-V ] .BR \-V ]
[\c [\c
@ -18,6 +17,7 @@ mdb_load \- LMDB environment import tool
.BR \-N ] .BR \-N ]
[\c [\c
.BR \-T ] .BR \-T ]
.BR \ envpath
.SH DESCRIPTION .SH DESCRIPTION
The The
.B mdb_load .B mdb_load

View File

@ -282,7 +282,7 @@ badend:
static void usage(void) 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); exit(EXIT_FAILURE);
} }

View File

@ -5,7 +5,6 @@
mdb_stat \- LMDB environment status tool mdb_stat \- LMDB environment status tool
.SH SYNOPSIS .SH SYNOPSIS
.B mdb_stat .B mdb_stat
.BR \ envpath
[\c [\c
.BR \-V ] .BR \-V ]
[\c [\c
@ -19,6 +18,7 @@ mdb_stat \- LMDB environment status tool
[\c [\c
.BR \-a \ | .BR \-a \ |
.BI \-s \ subdb\fR] .BI \-s \ subdb\fR]
.BR \ envpath
.SH DESCRIPTION .SH DESCRIPTION
The The
.B mdb_stat .B mdb_stat

View File

@ -31,7 +31,7 @@ static void prstat(MDB_stat *ms)
static void usage(char *prog) 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); exit(EXIT_FAILURE);
} }