summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-04-03 09:19:37 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-04-03 09:19:37 -0500
commit9a985df6e457cd558e7b5868de896b6b4a5043aa (patch)
tree08401f765b0a95a8fe1005a22e27ca7e05a1b1d9 /priv
parentae7c039336db80865d887e0d9b3a1ffdc55d161e (diff)
parenta3274e1bc86214d96b4047b88683a68f516d0997 (diff)
Merge pull request #308 from ferd/consistent-doc
Fixes #306: help text consistency
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/plugin.erl.dtl14
1 files changed, 7 insertions, 7 deletions
diff --git a/priv/templates/plugin.erl.dtl b/priv/templates/plugin.erl.dtl
index d3528c0..abf4648 100644
--- a/priv/templates/plugin.erl.dtl
+++ b/priv/templates/plugin.erl.dtl
@@ -12,14 +12,14 @@
-spec init(rebar_state:t()) -> {ok, rebar_state:t()}.
init(State) ->
Provider = providers:create([
- {name, ?PROVIDER}, % The 'user friendly' name of the task
- {module, ?MODULE}, % The module implementation of the task
- {bare, true}, % The task can be run by the user, always true
- {deps, ?DEPS}, % The list of dependencies
- {example, "rebar {{name}}"}, % How to use the plugin
- {opts, []}, % list of options understood by the plugin
+ {name, ?PROVIDER}, % The 'user friendly' name of the task
+ {module, ?MODULE}, % The module implementation of the task
+ {bare, true}, % The task can be run by the user, always true
+ {deps, ?DEPS}, % The list of dependencies
+ {example, "rebar3 {{name}}"}, % How to use the plugin
+ {opts, []}, % list of options understood by the plugin
{short_desc, "{{desc}}"},
- {desc, ""}
+ {desc, "{{desc}}"}
]),
{ok, rebar_state:add_provider(State, Provider)}.