abs-lang / abs

Home of the ABS programming language: the joy of shell scripting.
https://www.abs-lang.org
MIT License
516 stars 35 forks source link

[question] Multiple values of the same flag? #456

Open mcampbell opened 3 years ago

mcampbell commented 3 years ago

abs --foo 1 --foo 2 yields...

> flag("foo") # 1

I'm not sure what I want here, but it seems that a silent dropping of 2 is at least surprising. Perhaps flag("foo") # [1, 2]?