mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 23:14:12 +08:00
mdbx-load: refine usage-help for -n
option.
Change-Id: I4af2ea041bca323f8647601f49610f93a8f97d38
This commit is contained in:
parent
c0cc531b50
commit
2a0c9d83e0
@ -449,7 +449,7 @@ static int readline(MDBX_val *out, MDBX_val *buf) {
|
|||||||
|
|
||||||
static void usage(void) {
|
static void usage(void) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: %s [-V] [-q] [-a] [-f file] [-s name] [-N] [-T] [-r] "
|
"usage: %s [-V] [-q] [-a] [-f file] [-s name] [-N] [-T] [-r] [-n]"
|
||||||
"dbpath\n"
|
"dbpath\n"
|
||||||
" -V\t\tprint version and exit\n"
|
" -V\t\tprint version and exit\n"
|
||||||
" -q\t\tbe quiet\n"
|
" -q\t\tbe quiet\n"
|
||||||
@ -457,9 +457,12 @@ static void usage(void) {
|
|||||||
"comparators)\n"
|
"comparators)\n"
|
||||||
" -f file\tread from file instead of stdin\n"
|
" -f file\tread from file instead of stdin\n"
|
||||||
" -s name\tload into named subDB\n"
|
" -s name\tload into named subDB\n"
|
||||||
" -N\t\tuse NOOVERWRITE on puts\n"
|
" -N\t\tdon't overwrite existing records when loading (), just skip "
|
||||||
|
"them\n"
|
||||||
" -T\t\tread plaintext\n"
|
" -T\t\tread plaintext\n"
|
||||||
" -r\t\trescue mode (ignore errors to load corrupted DB dump)\n",
|
" -r\t\trescue mode (ignore errors to load corrupted DB dump)\n"
|
||||||
|
" -n\t\tdon't use subdirectory for newly created database "
|
||||||
|
"(MDBX_NOSUBDIR)\n",
|
||||||
prog);
|
prog);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user