ITS#8259 fix usage ordering

mdb.RE/0.9
Howard Chu 9 years ago
parent be1795a616
commit eccea851ff
  1. 2
      libraries/liblmdb/mdb_dump.1
  2. 2
      libraries/liblmdb/mdb_dump.c
  3. 2
      libraries/liblmdb/mdb_load.1
  4. 2
      libraries/liblmdb/mdb_load.c
  5. 2
      libraries/liblmdb/mdb_stat.1
  6. 2
      libraries/liblmdb/mdb_stat.c

@ -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

@ -155,7 +155,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);
} }

@ -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

@ -276,7 +276,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);
} }

@ -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

@ -37,7 +37,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);
} }

Loading…
Cancel
Save