magrathea: mg run no longer works without arguments

#232
Opened by tazjin at 2022-12-27T11·06+00

Using it without arguments:

tazjin@tverskoy /depot (public-inbox)> mg run //tools/fetch-depot-inbox
[mg] error: usage: mg run [<target>] [-- <arguments>] (hint: use "--" to separate the `mg run [<target>]` invocation from the arguments you're passing to the built executable)

but with an empty set of args (i.e. just --):

tazjin@tverskoy /depot (public-inbox) [1]> mg run //tools/fetch-depot-inbox --
[mg] building target //tools/fetch-depot-inbox
[mg] running target //tools/fetch-depot-inbox
hello

Not sure what happened.

  1. Fixed in https://cl.tvl.fyi/c/depot/+/8842

    flokli at 2023-06-23T16·48+00

  2. flokli closed this issue at 2023-06-23T16·48+00