Re: [PATCH] test-lib: allow short options to be stacked
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Mar 22, 2020, 08:14 UTC
- Message-ID
- <20200322081417.GA2224@szeder.dev>
- In-Reply-To
- <CAHd-oW4cGEwyge+BPRGiOsmMxr5ne9Ufk-BOM4EgG_i6qTxxMg@mail.gmail.com>
On Sat, Mar 21, 2020 at 03:50:55PM -0300, Matheus Tavares Bernardino wrote:
> [1]: Someone that used '-rr 5 6' might have wanted the script to run > *both* tests 5 and 6. But I don't think we need to support that now, > since '-r 5 -r 6' doesn't do that as well (instead, the last value > overrides all previous ones).
Well, that '-r 5 -r 6' should be written as '-r 5,6', but it shouldn't be terribly difficult to concatenate the args of multiple '-r' options with a comma, I suppose.
But '-rr 5 6' just looks wrong.