diff options
author | Jared Morrow <jared@basho.com> | 2013-12-04 12:12:27 -0800 |
---|---|---|
committer | Jared Morrow <jared@basho.com> | 2013-12-04 12:12:27 -0800 |
commit | 74e69faebeb76d0796c3ce7d543beb73db145f5f (patch) | |
tree | 1dcaa3e03f9280722e10467d5fa21f841adf8fd0 | |
parent | 745b14ddf1f82f74dc1e9ccbb38c6b4bb599b527 (diff) | |
parent | 6fe3b82b5b095740da31274cc37c82628542f5b6 (diff) |
Merge pull request #179 from tuncer/commands-list
Make list of commands (for unabbreviation) easier to maintain
-rw-r--r-- | src/rebar.erl | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/src/rebar.erl b/src/rebar.erl index 1902f14..2d9fe04 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -417,11 +417,32 @@ filter_flags(Config, [Item | Rest], Commands) -> end. command_names() -> - ["check-deps", "clean", "compile", "create", "create-app", "create-node", - "ct", "delete-deps", "doc", "eunit", "escriptize", "generate", - "generate-appups", "generate-upgrade", "get-deps", "help", "list-deps", - "list-templates", "qc", "update-deps", "overlay", "shell", "version", - "xref"]. + [ + "check-deps", + "clean", + "compile", + "create", + "create-app", + "create-node", + "ct", + "delete-deps", + "doc", + "eunit", + "escriptize", + "generate", + "generate-appups", + "generate-upgrade", + "get-deps", + "help", + "list-deps", + "list-templates", + "qc", + "update-deps", + "overlay", + "shell", + "version", + "xref" + ]. unabbreviate_command_names([]) -> []; |