argh icon indicating copy to clipboard operation
argh copied to clipboard

Support list of same parameters

Open paulocoutinhox opened this issue 2 years ago • 2 comments

Hi,

Can you add support list of same parameters?

Example:

nativium --build=debug  --build=release  --build=relwithdebinfo

Get all --build parameters and a vector of it.

Thanks.

paulocoutinhox avatar Jul 16 '22 17:07 paulocoutinhox

I haven't tried this, but surely another solution would be to parse the arguments, store the initial value of the --build parameter, then reparse the arguments with the first repetition of --build removed from the argv array. I'm not sure this is a problem with the library, or rather the complexity/versatility of the program you are trying to build.

jibstack64 avatar Oct 27 '22 20:10 jibstack64

There’s a PR for this. It needs a review and some testing. Will try to get to it.

adishavit avatar Nov 16 '22 08:11 adishavit