Skip to content

Commit

Permalink
Merge pull request #262 from tsloughter/help
Browse files Browse the repository at this point in the history
update help output to include available tasks
  • Loading branch information
jwilberding committed Nov 6, 2014
2 parents 6383099 + 625e7ba commit 64b946e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/relx.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

0 comments on commit 64b946e

Please sign in to comment.