ikskuh / zig-args

Simple-to-use argument parser with struct-based config
MIT License
243 stars 27 forks source link

Add index of "--", to differentiate positional args before/after #29

Closed courajs closed 2 years ago

courajs commented 2 years ago

Specifically, this allows one to treat - before the -- as stdin, but after -- as a literal string. I could see it having some other obscure use cases as well.