argh
argh copied to clipboard
Support list of same parameters
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.
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.
There’s a PR for this. It needs a review and some testing. Will try to get to it.