mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Document verbosity level
This commit is contained in:
parent
2cae2950c4
commit
2a5320fbd6
1 changed files with 2 additions and 1 deletions
|
@ -278,11 +278,12 @@ option_spec_list() ->
|
||||||
JobsHelp = io_lib:format(
|
JobsHelp = io_lib:format(
|
||||||
"Number of concurrent workers a command may use. Default: ~B",
|
"Number of concurrent workers a command may use. Default: ~B",
|
||||||
[Jobs]),
|
[Jobs]),
|
||||||
|
VerboseHelp = "Verbosity level (-v, -vv, -vvv, --verbose 3). Default: 0",
|
||||||
[
|
[
|
||||||
%% {Name, ShortOpt, LongOpt, ArgSpec, HelpMsg}
|
%% {Name, ShortOpt, LongOpt, ArgSpec, HelpMsg}
|
||||||
{help, $h, "help", undefined, "Show the program options"},
|
{help, $h, "help", undefined, "Show the program options"},
|
||||||
{commands, $c, "commands", undefined, "Show available commands"},
|
{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"},
|
{version, $V, "version", undefined, "Show version information"},
|
||||||
{force, $f, "force", undefined, "Force"},
|
{force, $f, "force", undefined, "Force"},
|
||||||
{defines, $D, undefined, string, "Define compiler macro"},
|
{defines, $D, undefined, string, "Define compiler macro"},
|
||||||
|
|
Loading…
Reference in a new issue