Permalink
Browse files

improve usage() message

more details about what each flag expects + listing all known flags
  • Loading branch information...
1 parent f5b1983 commit 16a4053bb3f77887c27b51b7958ab805cb0f4bda Bryan Fink committed Dec 13, 2010
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/mapred_verify.erl
View
@@ -107,7 +107,15 @@ select_inputs(Bucket, KeyCount) ->
random:uniform(2) == 2].
usage() ->
- io:format("~p -s <Erlang node name> -c <path to top of Riak source tree> [-k keycount -p -j -f <filename>]~n", [?MODULE]).
+ io:format("~p"
+ " -s <Erlang node name>"
+ " -c <path to top of Riak source tree>"
+ " [-k keycount]"
+ " [-ks objectsize{k|b}]"
+ " [-p true|false]"
+ " [-j true|false]"
+ " [-f <filename>]~n",
+ [?MODULE]).
setup_environment(Args) ->
case get_argument("-s", Args) of

0 comments on commit 16a4053

Please sign in to comment.