You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/18 00:13:32 UTC
[47/50] git commit: Make list of commands (for unabbreviation) easier
to maintain
Make list of commands (for unabbreviation) easier to maintain
It's easier to modify the list with each command on a separate line.
The shell completion scripts have already been modified that way.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/6fe3b82b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/6fe3b82b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/6fe3b82b
Branch: refs/heads/import
Commit: 6fe3b82b5b095740da31274cc37c82628542f5b6
Parents: 745b14d
Author: Tuncer Ayaz <tu...@gmail.com>
Authored: Thu Nov 28 22:10:03 2013 +0100
Committer: Tuncer Ayaz <tu...@gmail.com>
Committed: Wed Dec 4 20:11:49 2013 +0100
----------------------------------------------------------------------
src/rebar.erl | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/6fe3b82b/src/rebar.erl
----------------------------------------------------------------------
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([]) ->
[];