summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2017-08-18 18:56:38 +0000
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2017-08-18 18:56:38 +0000
commit6ece7857bc80d8b8a413843b012bdf044e25ba25 (patch)
tree91a572a0c3ee555aacf84b0601154f01a51e89fd
parent2a52f60bea5468de6372753621e0461b5d1c428b (diff)
downloadrebar-6ece7857bc80d8b8a413843b012bdf044e25ba25.tar.gz
Fix #634
-rw-r--r--src/rebar_neotoma_compiler.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rebar_neotoma_compiler.erl b/src/rebar_neotoma_compiler.erl
index f93d492..e35dfc4 100644
--- a/src/rebar_neotoma_compiler.erl
+++ b/src/rebar_neotoma_compiler.erl
@@ -78,12 +78,18 @@ clean(Config, _AppFile) ->
%% ============================================================================
info(help, compile) ->
+ info_help("Build Neotoma (*.peg) sources.~n");
+info(help, clean) ->
+ info_help("Delete *.peg build results").
+
+info_help(Description) ->
?CONSOLE(
- "Build Neotoma (*.peg) sources.~n"
+ "~s.~n"
"~n"
"Valid rebar.config options:~n"
" ~p~n",
[
+ Description,
{neotoma_opts, [{doc_root, "src"},
{out_dir, "src"},
{source_ext, ".peg"},