mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
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.
This commit is contained in:
parent
745b14ddf1
commit
6fe3b82b5b
1 changed files with 26 additions and 5 deletions
|
@ -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([]) ->
|
||||
[];
|
||||
|
|
Loading…
Reference in a new issue