diff options
author | Jared Morrow <jared@basho.com> | 2014-01-14 13:38:30 -0800 |
---|---|---|
committer | Jared Morrow <jared@basho.com> | 2014-01-14 13:38:30 -0800 |
commit | 5d2b9ba23f8e32ad4f99850a71c62d8b7df262d8 (patch) | |
tree | dbdde09160cb05d918fef71c2164c6840d15ef28 /src/rebar.erl | |
parent | cf3a24e5c7c48b05e3b51bcc6ff2128b3fd71c07 (diff) | |
parent | 34ead92c8332ce8681d3cd54561562a2eac9b43e (diff) |
Merge pull request #191 from tuncer/rename-modules
Fix #187 (rename getopt and mustache)
Diffstat (limited to 'src/rebar.erl')
-rw-r--r-- | src/rebar.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rebar.erl b/src/rebar.erl index 5e48578..ea3a2ab 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -180,10 +180,10 @@ run_aux(BaseConfig, Commands) -> %% help() -> OptSpecList = option_spec_list(), - getopt:usage(OptSpecList, "rebar", - "[var=value,...] <command,...>", - [{"var=value", "rebar global variables (e.g. force=1)"}, - {"command", "Command to run (e.g. compile)"}]), + rebar_getopt:usage(OptSpecList, "rebar", + "[var=value,...] <command,...>", + [{"var=value", "rebar global variables (e.g. force=1)"}, + {"command", "Command to run (e.g. compile)"}]), ?CONSOLE( "Type 'rebar help <CMD1> <CMD2>' for help on specific commands." "~n~n", []), @@ -217,7 +217,7 @@ help() -> parse_args(RawArgs) -> %% Parse getopt options OptSpecList = option_spec_list(), - case getopt:parse(OptSpecList, RawArgs) of + case rebar_getopt:parse(OptSpecList, RawArgs) of {ok, Args} -> Args; {error, {Reason, Data}} -> |