diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-09-18 19:14:33 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-09-18 19:15:34 -0500 |
commit | d78f66291f0f82b6c50193b041c7a26b4ced9037 (patch) | |
tree | 972f2b9061e17f24c392b8c1e9a60ef2998280a2 /src/rebar_prv_shell.erl | |
parent | 73ee56eace71065ff7fa15f0106c2f559a6e632b (diff) |
add support for plugins as pre and post hooks
Diffstat (limited to 'src/rebar_prv_shell.erl')
-rw-r--r-- | src/rebar_prv_shell.erl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl index 06195ec..80f6bcf 100644 --- a/src/rebar_prv_shell.erl +++ b/src/rebar_prv_shell.erl @@ -50,7 +50,7 @@ init(State) -> deps = ?DEPS, example = "rebar shell", short_desc = "Run shell with project apps and deps in path.", - desc = "", + desc = info(), opts = []}), {ok, State1}. @@ -91,12 +91,8 @@ shell() -> %% this call never returns (until user quits shell) timer:sleep(infinity). -info(help, shell) -> - ?CONSOLE( - "Start a shell with project and deps preloaded similar to~n" - "'erl -pa ebin -pa deps/*/ebin'.~n", - [] - ). +info() -> + "Start a shell with project and deps preloaded similar to~n'erl -pa ebin -pa deps/*/ebin'.~n". remove_error_handler(0) -> ?WARN("Unable to remove simple error_logger handler~n", []); |