diff options
author | Tristan Sloughter <[email protected]> | 2014-11-05 20:09:33 -0600 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-11-06 16:43:00 -0600 |
commit | 625e7bab1253c6b0ff11f6d066c754be1695065c (patch) | |
tree | 5661b5f27e4db078cdc971c1cb7426308699b86e /src | |
parent | 638309914dd34e0ae3936fb4ed0cd4a2663ebde0 (diff) | |
download | relx-625e7bab1253c6b0ff11f6d066c754be1695065c.tar.gz relx-625e7bab1253c6b0ff11f6d066c754be1695065c.tar.bz2 relx-625e7bab1253c6b0ff11f6d066c754be1695065c.zip |
update help output to include available tasks
Diffstat (limited to 'src')
-rw-r--r-- | src/relx.erl | 3 |
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) -> |