diff --git a/src/mdbx_chk.c b/src/mdbx_chk.c index d0868d2c..9d222714 100644 --- a/src/mdbx_chk.c +++ b/src/mdbx_chk.c @@ -765,19 +765,17 @@ bailout: } static void usage(char *prog) { - fprintf( - stderr, - "usage: %s [-V] [-v] [-n] [-q] [-c] [-w] [-d] [-i] [-s subdb] dbpath\n" - " -V\t\tprint version and exit\n" - " -v\t\tmore verbose, could be used multiple times\n" - " -n\t\tNOSUBDIR mode for open\n" - " -q\t\tbe quiet\n" - " -c\t\tforce cooperative mode (don't try exclusive)\n" - " -w\t\tlock DB for writing while checking\n" - " -d\t\tdisable page-by-page traversal of B-tree\n" - " -i\t\tignore wrong order errors (for custom comparators case)\n" - " -s subdb\tprocess a specific subdatabase only\n", - prog); + fprintf(stderr, + "usage: %s [-V] [-v] [-q] [-c] [-w] [-d] [-i] [-s subdb] dbpath\n" + " -V\t\tprint version and exit\n" + " -v\t\tmore verbose, could be used multiple times\n" + " -q\t\tbe quiet\n" + " -c\t\tforce cooperative mode (don't try exclusive)\n" + " -w\t\tlock DB for writing while checking\n" + " -d\t\tdisable page-by-page traversal of B-tree\n" + " -i\t\tignore wrong order errors (for custom comparators case)\n" + " -s subdb\tprocess a specific subdatabase only\n", + prog); exit(EXIT_INTERRUPTED); } diff --git a/src/mdbx_copy.c b/src/mdbx_copy.c index 81d177ab..cde9573a 100644 --- a/src/mdbx_copy.c +++ b/src/mdbx_copy.c @@ -45,11 +45,10 @@ static void signal_handler(int sig) { static void usage(const char *prog) { fprintf(stderr, - "usage: %s [-V] [-q] [-c] [-n] src_path [dest_path]\n" + "usage: %s [-V] [-q] [-c] src_path [dest_path]\n" " -V\t\tprint version and exit\n" " -q\t\tbe quiet\n" " -c\t\tenable compactification (skip unused pages)\n" - " -n\t\tNOSUBDIR mode for open\n" " src_path\tsource database\n" " dest_path\tdestination (stdout if not specified)\n", prog); diff --git a/src/mdbx_dump.c b/src/mdbx_dump.c index 8bb057b2..f97d50aa 100644 --- a/src/mdbx_dump.c +++ b/src/mdbx_dump.c @@ -160,7 +160,7 @@ static int dumpit(MDBX_txn *txn, MDBX_dbi dbi, char *name) { static void usage(char *prog) { fprintf(stderr, - "usage: %s [-V] [-q] [-f file] [-l] [-p] [-a|-s subdb] [-r] [-n] " + "usage: %s [-V] [-q] [-f file] [-l] [-p] [-a|-s subdb] [-r] " "dbpath\n" " -V\t\tprint version and exit\n" " -q\t\tbe quiet\n" @@ -170,8 +170,7 @@ static void usage(char *prog) { " -a\t\tdump main DB and all subDBs,\n" " \t\tby default dump only the main DB\n" " -s\t\tdump only the named subDB\n" - " -r\t\trescure mode (ignore errors to dump corrupted DB)\n" - " -n\t\tNOSUBDIR mode for open\n", + " -r\t\trescure mode (ignore errors to dump corrupted DB)\n", prog); exit(EXIT_FAILURE); } diff --git a/src/mdbx_load.c b/src/mdbx_load.c index eb39cc11..ee193352 100644 --- a/src/mdbx_load.c +++ b/src/mdbx_load.c @@ -335,7 +335,7 @@ static int readline(MDBX_val *out, MDBX_val *buf) { static void usage(void) { fprintf(stderr, - "usage: %s [-V] [-q] [-a] [-f file] [-s name] [-N] [-T] [-r] [-n] " + "usage: %s [-V] [-q] [-a] [-f file] [-s name] [-N] [-T] [-r] " "dbpath\n" " -V\t\tprint version and exit\n" " -q\t\tbe quiet\n" @@ -345,8 +345,7 @@ static void usage(void) { " -s name\tload into named subDB\n" " -N\t\tuse NOOVERWRITE on puts\n" " -T\t\tread plaintext\n" - " -r\t\trescure mode (ignore errors to load corrupted DB dump)\n" - " -n\t\tNOSUBDIR mode for open\n", + " -r\t\trescure mode (ignore errors to load corrupted DB dump)\n", prog); exit(EXIT_FAILURE); } diff --git a/src/mdbx_stat.c b/src/mdbx_stat.c index d1a805f9..31fe086e 100644 --- a/src/mdbx_stat.c +++ b/src/mdbx_stat.c @@ -54,15 +54,14 @@ static void prstat(MDBX_stat *ms) { static void usage(char *prog) { fprintf(stderr, - "usage: %s [-V] [-e] [-f[f[f]]] [-r[r]] [-a|-s name] [-n] dbpath\n" + "usage: %s [-V] [-e] [-f[f[f]]] [-r[r]] [-a|-s name] dbpath\n" " -V\t\tprint version and exit\n" " -e\t\tshow whole DB info\n" " -f\t\tshow GC info\n" " -r\t\tshow readers\n" " -a\t\tprint stat of main DB and all subDBs\n" " \t\t(default) print stat of only the main DB\n" - " -s name\tprint stat of only the named subDB\n" - " -n\t\tNOSUBDIR mode for open\n", + " -s name\tprint stat of only the named subDB\n", prog); exit(EXIT_FAILURE); }