aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-11-06 15:24:32 -0800
committerJordan Wilberding <[email protected]>2014-11-06 15:24:32 -0800
commit64b946e351a92bd2686d0a4370c252a53eaa82bd (patch)
tree5661b5f27e4db078cdc971c1cb7426308699b86e /src
parent638309914dd34e0ae3936fb4ed0cd4a2663ebde0 (diff)
parent625e7bab1253c6b0ff11f6d066c754be1695065c (diff)
downloadrelx-64b946e351a92bd2686d0a4370c252a53eaa82bd.tar.gz
relx-64b946e351a92bd2686d0a4370c252a53eaa82bd.tar.bz2
relx-64b946e351a92bd2686d0a4370c252a53eaa82bd.zip
Merge pull request #262 from tsloughter/help1.1.0-rc2
update help output to include available tasks
Diffstat (limited to 'src')
-rw-r--r--src/relx.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/relx.erl b/src/relx.erl
index 25f3220..ddfcf94 100644
--- a/src/relx.erl
+++ b/src/relx.erl
@@ -298,7 +298,8 @@ run_provider(_ProviderName, Error) ->
-spec usage() -> ok.
usage() ->
- getopt:usage(opt_spec_list(), "relx", "[*release-specification-file*]").
+ getopt:usage(opt_spec_list(), "relx", "[<task>]"),
+ io:format("Several tasks are available:~n~nrelease\t\tCreate release.~nrelup\t\tGenerate a release upgrade.~ntar\t\tCreate tarball archive of a release.~n~n").
-spec report_error(rlx_state:t(), error()) -> none() | error().
report_error(State, Error) ->