Fix #634
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/6ece7857 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/6ece7857 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/6ece7857 Branch: refs/heads/master Commit: 6ece7857bc80d8b8a413843b012bdf044e25ba25 Parents: 2a52f60 Author: Tuncer Ayaz <tuncer.a...@gmail.com> Authored: Fri Aug 18 18:56:38 2017 +0000 Committer: Tuncer Ayaz <tuncer.a...@gmail.com> Committed: Fri Aug 18 18:56:38 2017 +0000 ---------------------------------------------------------------------- src/rebar_neotoma_compiler.erl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/6ece7857/src/rebar_neotoma_compiler.erl ---------------------------------------------------------------------- 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"},