summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-02-14 18:57:07 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-02-24 22:36:31 +0100
commitc29f8b45ae5b9fe89fa0854bc243bcd6dd0c3a3f (patch)
tree7d626ad38f90dd660e1a9cd8c78c1512b4645a21
parent289a71e208f84d04a4d0b7c4806daf25f76c655d (diff)
Document support for abbreviated commands
-rw-r--r--src/rebar.erl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rebar.erl b/src/rebar.erl
index 833e397..5064202 100644
--- a/src/rebar.erl
+++ b/src/rebar.erl
@@ -188,6 +188,16 @@ help() ->
"Type 'rebar help <CMD1> <CMD2>' for help on specific commands."
"~n~n", []),
?CONSOLE(
+ "rebar allows you to abbreviate the command to run:~n"
+ "$ rebar co # same as rebar compile~n"
+ "$ rebar eu # same as rebar eunit~n"
+ "$ rebar g-d # same as rebar get-deps~n"
+ "$ rebar x eu # same as rebar xref eunit~n"
+ "$ rebar l-d # same as rebar list-deps~n"
+ "$ rebar l-d l-t # same as rebar list-deps list-templates~n"
+ "$ rebar list-d l-te # same as rebar list-deps list-templates~n"
+ "~n", []),
+ ?CONSOLE(
"Core rebar.config options:~n"
" ~p~n"
" ~p~n"