Skip to content

mix local.hex --if-missing: Unknown option #6453

@xtian

Description

@xtian

Not sure if I am doing something wrong here, but I'm having trouble getting the new --if-missing option to work with mix local.hex.

Environment

  • Elixir & Erlang versions (elixir --version):
~$ mix --version
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Mix 1.5.1
  • Operating system: macOS 10.12.6

Current behavior

~$ mix local.hex --if-missing
** (Mix) Could not invoke task "local.hex": 1 error found!
--if-missing : Unknown option

Expected behavior

--if-missing flag should be recognized and trigger the behavior described in #5674

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions