Преглед на файлове

Document verbosity level

pull/3/head
Tuncer Ayaz преди 13 години
родител
ревизия
2a5320fbd6
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      src/rebar.erl

+ 2
- 1
src/rebar.erl Целия файл

@ -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"},

Зареждане…
Отказ
Запис