From 2a5320fbd6592b8250a23a652b28ce80fec8758e Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 17 Jan 2012 12:08:33 +0100 Subject: [PATCH] Document verbosity level --- src/rebar.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rebar.erl b/src/rebar.erl index 8d3359d..0c131ef 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -278,11 +278,12 @@ option_spec_list() -> JobsHelp = io_lib:format( "Number of concurrent workers a command may use. Default: ~B", [Jobs]), + VerboseHelp = "Verbosity level (-v, -vv, -vvv, --verbose 3). Default: 0", [ %% {Name, ShortOpt, LongOpt, ArgSpec, HelpMsg} {help, $h, "help", undefined, "Show the program options"}, {commands, $c, "commands", undefined, "Show available commands"}, - {verbose, $v, "verbose", integer, "Verbosity level"}, + {verbose, $v, "verbose", integer, VerboseHelp}, {version, $V, "version", undefined, "Show version information"}, {force, $f, "force", undefined, "Force"}, {defines, $D, undefined, string, "Define compiler macro"},