Skip to content

Commit

Permalink
Add examples to mdbm_bench.
Browse files Browse the repository at this point in the history
  • Loading branch information
timrc-git committed Jul 15, 2014
1 parent d60663d commit b6fc1af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/tools/mdbm_bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ Options:\n\
rw Open backing-store for read-write access\n\
rwlock Use mdbm read-write locking\n\
size=<mb> Create mdbm-based backing store of specified size\n\
If you don't specify size, the db must already exist.\n\
win=<bytes> Use mdbm window of specified size\n\
winmin=<bytes> Use mdbm window (min mode) of specified size\n\
-b <bytes> Enable windowed mode with specified window size.\n\
Expand Down Expand Up @@ -994,7 +995,12 @@ Options:\n\
-Y Don't create db but load it (use existing db)\n\
-y Answer yes to prompts\n\
-Z Don't create or load db (use existing db and values created with -Y)\n\
-z Don't load db (create empty db but do not load)\n");
-z Don't load db (create empty db but do not load)\n\
\n\
Examples:\n\
mdbm_bench -c100 -y -K -F /tmp/foo-part.mdbm -l2 -n5:5 \n\
mdbm_bench -3 -c 100 -y -K -B mdbm=/tmp/bs.mdbm,size=100M -F /tmp/foo.mdbm \n\
");
exit(1);
}

Expand Down

0 comments on commit b6fc1af

Please sign in to comment.