Skip to content

Commit

Permalink
Update marisa-benchmark.cc
Browse files Browse the repository at this point in the history
Fixed `print_help` to display accurate default values.

`$ marisa-benchmark --help` displays
```
Options:
  ...
  -n, --max-num-tries=[N]  limit the number of tries [1, 127] (default: 10)
  ...
```
but  `int param_max_num_tries = 5;`

so I just fixed the string. Nothing big!
  • Loading branch information
Will Frey authored Apr 5, 2017
1 parent 961ed33 commit 86f29b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/marisa-benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void print_help(const char *cmd) {
<< "] (default: 1)\n"
" -n, --max-num-tries=[N] limit the number of tries"
" [" << MARISA_MIN_NUM_TRIES << ", " << MARISA_MAX_NUM_TRIES
<< "] (default: 10)\n"
<< "] (default: 5)\n"
" -t, --text-tail build a dictionary with text TAIL (default)\n"
" -b, --binary-tail build a dictionary with binary TAIL\n"
" -w, --weight-order arrange siblings in weight order (default)\n"
Expand Down

0 comments on commit 86f29b4

Please sign in to comment.