From c29f8b45ae5b9fe89fa0854bc243bcd6dd0c3a3f Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 14 Feb 2014 18:57:07 +0100 Subject: Document support for abbreviated commands --- src/rebar.erl | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ' 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" -- cgit v1.1 From a554744fc04708eb622974313ef342e07d386c53 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 24 Feb 2014 22:32:50 +0100 Subject: Mention rebar -c/--commands --- src/rebar.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rebar.erl b/src/rebar.erl index 5064202..a1abfe3 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -184,6 +184,8 @@ help() -> "[var=value,...] ", [{"var=value", "rebar global variables (e.g. force=1)"}, {"command", "Command to run (e.g. compile)"}]), + + ?CONSOLE("To see a list of built-in commands, execute rebar -c.~n~n", []), ?CONSOLE( "Type 'rebar help ' for help on specific commands." "~n~n", []), -- cgit v1.1