From 2357bdf67f2dd95468f07dea7acfa218e7d0d039 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Wed, 17 Sep 2014 21:41:49 -0500 Subject: reworking of help display and parse of commands --- src/rebar_erlydtl_compiler.erl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/rebar_erlydtl_compiler.erl') diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl index b90ef37..88ee20f 100644 --- a/src/rebar_erlydtl_compiler.erl +++ b/src/rebar_erlydtl_compiler.erl @@ -104,7 +104,7 @@ -include("rebar.hrl"). --define(PROVIDER, compile). +-define(PROVIDER, erlydtl). -define(DEPS, []). %% =================================================================== @@ -114,13 +114,13 @@ -spec init(rebar_state:t()) -> {ok, rebar_state:t()}. init(State) -> State1 = rebar_state:add_provider(State, #provider{name = ?PROVIDER, - provider_impl = ?MODULE, - bare = false, - deps = ?DEPS, - example = "compile", - short_desc = "", - desc = "", - opts = []}), + provider_impl = ?MODULE, + bare = false, + deps = ?DEPS, + example = "rebar erlydtl compile", + short_desc = "Compile erlydtl templates.", + desc = "", + opts = []}), {ok, State1}. do(Config) -> -- cgit v1.1