diff options
author | Tristan Sloughter <[email protected]> | 2013-09-14 13:15:47 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-09-16 11:12:22 -0500 |
commit | d72e2cda09df280e1e690d9233790ebbb9e58812 (patch) | |
tree | 4ab69650fb2d57a4c7c063914f4a2b5a02319e3e /src/rlx_release.erl | |
parent | 8606f9cb6d5f71611643780235bc0e57a757a759 (diff) | |
download | relx-d72e2cda09df280e1e690d9233790ebbb9e58812.tar.gz relx-d72e2cda09df280e1e690d9233790ebbb9e58812.tar.bz2 relx-d72e2cda09df280e1e690d9233790ebbb9e58812.zip |
improved user output look
Diffstat (limited to 'src/rlx_release.erl')
-rw-r--r-- | src/rlx_release.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rlx_release.erl b/src/rlx_release.erl index 68193fa..471a6f7 100644 --- a/src/rlx_release.erl +++ b/src/rlx_release.erl @@ -196,14 +196,14 @@ format(Indent, #release_t{name=Name, vsn=Vsn, erts=ErtsVsn, realized=Realized, goals = Goals, applications=Apps}) -> BaseIndent = rlx_util:indent(Indent), [BaseIndent, "release: ", rlx_util:to_string(Name), "-", Vsn, "\n", - rlx_util:indent(Indent + 1), " erts-", ErtsVsn, + rlx_util:indent(Indent + 2), " erts-", ErtsVsn, ", realized = ", erlang:atom_to_list(Realized), "\n", - BaseIndent, "goals: \n", - [[rlx_util:indent(Indent + 1), format_goal(Goal), ",\n"] || Goal <- Goals], + rlx_util:indent(Indent + 1), "goals: \n", + [[rlx_util:indent(Indent + 2), format_goal(Goal), ",\n"] || Goal <- Goals], case Realized of true -> - [BaseIndent, "applications: \n", - [[rlx_util:indent(Indent + 1), io_lib:format("~p", [App]), ",\n"] || + [rlx_util:indent(Indent + 1), "applications: \n", + [[rlx_util:indent(Indent + 2), io_lib:format("~p", [App]), ",\n"] || App <- Apps]]; false -> [] |