Skip to content

Commit

Permalink
Get rid of -i shortcut for ignore module conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Jul 29, 2012
1 parent b5331dd commit 329b49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/elixirc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $# -eq 0 ]; then
-pz \"path\" Append the given path to Erlang code path (*)
--no-docs Do not attach documentation with compiled code
--debug-info Attach debug info to compiled modules
-i, --ignore-module-conflict
--ignore-module-conflict
** Options marked with (*) can be given more than once;
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/lib/kernel/cli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ defmodule Kernel.CLI do
process_compiler t, config.merge_compiler_options(debug_info: true)
end

defp process_compiler([ignore|t], config) when ignore in ['-i', '--ignore-module-conflict'] do
defp process_compiler(['--ignore-module-conflict'|t], config) do
process_compiler t, config.merge_compiler_options(ignore_module_conflict: true)
end

Expand Down

0 comments on commit 329b49e

Please sign in to comment.