Kaynağa Gözat

Merge pull request #196 from tuncer/rebar-run-info

Print a more appropriate message on 'rebar info'
pull/3/head
Jared Morrow 11 yıl önce
ebeveyn
işleme
cf3a24e5c7
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. +3
    -1
      src/rebar.erl

+ 3
- 1
src/rebar.erl Dosyayı Görüntüle

@ -87,7 +87,9 @@ run(["help"|RawCmds]) when RawCmds =/= [] ->
run(["help"]) ->
help();
run(["info"|_]) ->
help();
%% Catch calls to 'rebar info' to avoid treating plugins' info/2 functions
%% as commands.
?CONSOLE("Command 'info' not understood or not applicable~n", []);
run(["version"]) ->
ok = load_rebar_app(),
%% Display vsn and build time info

Yükleniyor…
İptal
Kaydet