]> git.sur5r.net Git - openldap/commitdiff
ITS#8259 fix usage ordering
authorHoward Chu <hyc@openldap.org>
Wed, 30 Sep 2015 17:11:20 +0000 (18:11 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 30 Sep 2015 17:11:49 +0000 (18:11 +0100)
libraries/liblmdb/mdb_dump.1
libraries/liblmdb/mdb_dump.c
libraries/liblmdb/mdb_load.1
libraries/liblmdb/mdb_load.c
libraries/liblmdb/mdb_stat.1
libraries/liblmdb/mdb_stat.c

index dd545049b28894c759676567718ed7b52a62667e..5a647ba2ec047ec6bdd6265fb3691961dfed27fb 100644 (file)
@@ -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
index 7202d865bcd193ea50b83412638efda6fac471c4..16c0aae1b734e2065f99d2c86c30d457e57217cb 100644 (file)
@@ -155,7 +155,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);
 }
 
index 511ec552b4914c980b69172767dffff32d6b5b6e..712ed0540d28aa16314506d5ee5d52f976c1ba38 100644 (file)
@@ -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
index 1f6ce0b7ecae75da54d2f2fa42d7897487a461ec..160bc1b8851cf387f0047aab70755b8640ec3a29 100644 (file)
@@ -276,7 +276,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);
 }
 
index e6ee5ad585706f21f469a4163dcbb983f2f55e28..351c017578aab651e8bdde53ff424569f036a5a4 100644 (file)
@@ -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
index 210609b3244e8e63a70c129519b035f5aa44955e..6f4b3ee4f361817615b3fc8761d6fc311dcb2258 100644 (file)
@@ -37,7 +37,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);
 }