summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wood <justin.k.wood@protonmail.com>2019-02-07 09:20:26 -0500
committerJustin Wood <justin.k.wood@protonmail.com>2019-02-07 09:20:26 -0500
commit8a4bfa3ac5da3887c776e3188ce937ad391d9012 (patch)
treeaa6fb6f9a355657c6ff36b0beb67bcea8df0e674
parent908694f17fef608f81c9459bbd55f53addeacba7 (diff)
Add plugin version to the output of rebar3 plugin list
-rw-r--r--src/rebar_prv_plugins.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_plugins.erl b/src/rebar_prv_plugins.erl
index fba5da0..00457a7 100644
--- a/src/rebar_prv_plugins.erl
+++ b/src/rebar_prv_plugins.erl
@@ -66,8 +66,8 @@ display_plugins(Apps, Plugins) ->
is_tuple(Plugin) -> rebar_utils:to_binary(element(1, Plugin))
end,
case rebar_app_utils:find(Name, Apps) of
- {ok, _App} ->
- ?CONSOLE("~ts", [Name]);
+ {ok, App} ->
+ ?CONSOLE("~ts (~s)", [Name, rebar_app_info:original_vsn(App)]);
error ->
?DEBUG("Unable to find plugin ~ts", [Name])
end