Re: [OE-core] [PATCH] yocto-check-layer: make argument parsing unambiguous

2020-12-14 Thread Ross Burton
On Mon, 14 Dec 2020 at 13:31, Richard Purdie wrote: > https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/2825 > > Do we need to update the way we're calling it on the autobuilder? Yes. Sorry, forgot this was on the autobuilder. Patch incoming. Ross -=-=-=-=-=-=-=-=-=-=-=-

Re: [OE-core] [PATCH] yocto-check-layer: make argument parsing unambiguous

2020-12-14 Thread Richard Purdie
On Thu, 2020-12-10 at 16:20 +, Ross Burton wrote: > Currently the argument parser uses nargs=+ for both the layers > (positional arguments) and machines/dependencies/addition layers > (optional arguments). This means it's impossible to determine what is > meant by: > > $ yocto-check-layer

[OE-core] [PATCH] yocto-check-layer: make argument parsing unambiguous

2020-12-10 Thread Ross Burton
Currently the argument parser uses nargs=+ for both the layers (positional arguments) and machines/dependencies/addition layers (optional arguments). This means it's impossible to determine what is meant by: $ yocto-check-layer --machines a b c Is this machines=(a,b) and layers=(c), or