summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_prv_clean.erl2
-rw-r--r--src/rebar_prv_common_test.erl4
-rw-r--r--src/rebar_prv_compile.erl2
-rw-r--r--src/rebar_prv_cover.erl4
-rw-r--r--src/rebar_prv_deps.erl2
-rw-r--r--src/rebar_prv_dialyzer.erl2
-rw-r--r--src/rebar_prv_edoc.erl2
-rw-r--r--src/rebar_prv_escriptize.erl2
-rw-r--r--src/rebar_prv_eunit.erl2
-rw-r--r--src/rebar_prv_new.erl2
-rw-r--r--src/rebar_prv_packages.erl2
-rw-r--r--src/rebar_prv_release.erl2
-rw-r--r--src/rebar_prv_shell.erl2
-rw-r--r--src/rebar_prv_tar.erl2
-rw-r--r--src/rebar_prv_update.erl2
-rw-r--r--src/rebar_prv_version.erl2
16 files changed, 18 insertions, 18 deletions
diff --git a/src/rebar_prv_clean.erl b/src/rebar_prv_clean.erl
index d670e4d..8fbc516 100644
--- a/src/rebar_prv_clean.erl
+++ b/src/rebar_prv_clean.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar clean"},
+ {example, "rebar3 clean"},
{short_desc, "Remove compiled beam files from apps."},
{desc, ""},
{opts, [{all, $a, "all", undefined, "Clean all apps include deps"}]}])),
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index fe2a8f6..bd799fa 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{deps, ?DEPS},
{bare, false},
- {example, "rebar ct"},
+ {example, "rebar3 ct"},
{short_desc, "Run Common Tests."},
{desc, ""},
{opts, ct_opts(State)},
@@ -311,7 +311,7 @@ test_state(State) ->
TestOpts = case rebar_state:get(State, ct_compile_opts, []) of
[] -> [];
Opts -> [{erl_opts, Opts}]
- end,
+ end,
[first_files(State)|TestOpts].
first_files(State) ->
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index bce4aab..7c6802d 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -28,7 +28,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar compile"},
+ {example, "rebar3 compile"},
{short_desc, "Compile apps .app.src and .erl files."},
{desc, ""},
{opts, [
diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl
index 09d3861..d6e18dc 100644
--- a/src/rebar_prv_cover.erl
+++ b/src/rebar_prv_cover.erl
@@ -26,7 +26,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar cover"},
+ {example, "rebar3 cover"},
{short_desc, "Perform coverage analysis."},
{desc, ""},
{opts, cover_opts(State)}])),
@@ -340,4 +340,4 @@ cover_opts(_State) ->
{verbose, $v, "verbose", boolean, help(verbose)}].
help(reset) -> "Reset all coverdata.";
-help(verbose) -> "Print coverage analysis.". \ No newline at end of file
+help(verbose) -> "Print coverage analysis.".
diff --git a/src/rebar_prv_deps.erl b/src/rebar_prv_deps.erl
index bb8dc65..cfa2d3f 100644
--- a/src/rebar_prv_deps.erl
+++ b/src/rebar_prv_deps.erl
@@ -17,7 +17,7 @@ init(State) ->
{module, ?MODULE},
{bare, true},
{deps, ?DEPS},
- {example, "rebar deps"},
+ {example, "rebar3 deps"},
{short_desc, "List dependencies"},
{desc, info("List dependencies")},
{opts, []}])),
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl
index e7275c7..fe9a141 100644
--- a/src/rebar_prv_dialyzer.erl
+++ b/src/rebar_prv_dialyzer.erl
@@ -26,7 +26,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar dialyzer"},
+ {example, "rebar3 dialyzer"},
{short_desc, short_desc()},
{desc, desc()},
{opts, Opts}])),
diff --git a/src/rebar_prv_edoc.erl b/src/rebar_prv_edoc.erl
index 8397e20..eb57dcd 100644
--- a/src/rebar_prv_edoc.erl
+++ b/src/rebar_prv_edoc.erl
@@ -21,7 +21,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar edoc"},
+ {example, "rebar3 edoc"},
{short_desc, "Generate documentation using edoc."},
{desc, ""},
{opts, []}])),
diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl
index 0254d24..ad58281 100644
--- a/src/rebar_prv_escriptize.erl
+++ b/src/rebar_prv_escriptize.erl
@@ -49,7 +49,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar escriptize"},
+ {example, "rebar3 escriptize"},
{opts, []},
{short_desc, "Generate escript archive"},
{desc, desc()}
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index e554f98..7ea5ced 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{deps, ?DEPS},
{bare, false},
- {example, "rebar eunit"},
+ {example, "rebar3 eunit"},
{short_desc, "Run EUnit Tests."},
{desc, ""},
{opts, eunit_opts(State)},
diff --git a/src/rebar_prv_new.erl b/src/rebar_prv_new.erl
index e432371..77e100f 100644
--- a/src/rebar_prv_new.erl
+++ b/src/rebar_prv_new.erl
@@ -22,7 +22,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar new <template>"},
+ {example, "rebar3 new <template>"},
{short_desc, "Create new project from templates."},
{desc, info()},
{opts, [{force, $f, "force", undefined, "overwrite existing files"}]}
diff --git a/src/rebar_prv_packages.erl b/src/rebar_prv_packages.erl
index 37511bd..8ba9e92 100644
--- a/src/rebar_prv_packages.erl
+++ b/src/rebar_prv_packages.erl
@@ -17,7 +17,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar pkgs"},
+ {example, "rebar3 pkgs"},
{short_desc, "List available packages."},
{desc, info("List available packages")},
{opts, []}])),
diff --git a/src/rebar_prv_release.erl b/src/rebar_prv_release.erl
index f2098fb..766bfe4 100644
--- a/src/rebar_prv_release.erl
+++ b/src/rebar_prv_release.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar release"},
+ {example, "rebar3 release"},
{short_desc, "Build release of project."},
{desc, ""},
{opts, relx:opt_spec_list()}])),
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl
index 76a416d..2d6983c 100644
--- a/src/rebar_prv_shell.erl
+++ b/src/rebar_prv_shell.erl
@@ -49,7 +49,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar shell"},
+ {example, "rebar3 shell"},
{short_desc, "Run shell with project apps and deps in path."},
{desc, info()},
{opts, []}])),
diff --git a/src/rebar_prv_tar.erl b/src/rebar_prv_tar.erl
index 87ee4df..b5defbf 100644
--- a/src/rebar_prv_tar.erl
+++ b/src/rebar_prv_tar.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar tar"},
+ {example, "rebar3 tar"},
{short_desc, "Tar archive of release built of project."},
{desc, ""},
{opts, relx:opt_spec_list()}])),
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl
index 162c67c..d0bdd1b 100644
--- a/src/rebar_prv_update.erl
+++ b/src/rebar_prv_update.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar update"},
+ {example, "rebar3 update"},
{short_desc, "Update package index."},
{desc, ""},
{opts, []}])),
diff --git a/src/rebar_prv_version.erl b/src/rebar_prv_version.erl
index 727bdc1..b2382db 100644
--- a/src/rebar_prv_version.erl
+++ b/src/rebar_prv_version.erl
@@ -24,7 +24,7 @@ init(State) ->
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
- {example, "rebar version"},
+ {example, "rebar3 version"},
{short_desc, "Print version for rebar and current Erlang."},
{desc, ""},
{opts, []}])),