summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Rascão <luis.rascao@gmail.com>2017-08-18 22:29:42 +0100
committerGitHub <noreply@github.com>2017-08-18 22:29:42 +0100
commit2940f2711972b49f86ff39a98d37f461f2b70a54 (patch)
treeefee3892c3f8d9cfe7daf2c26625461f68cd3878
parent7040e9129cc9c236e1fa9392a9325cde1b9ad1e1 (diff)
parent6ece7857bc80d8b8a413843b012bdf044e25ba25 (diff)
downloadrebar-2940f2711972b49f86ff39a98d37f461f2b70a54.tar.gz
Merge pull request #636 from tuncer/fix-634
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"},