adishavit / argh

Argh! A minimalist argument handler.
BSD 3-Clause "New" or "Revised" License
1.33k stars 93 forks source link

ADD: dash (as position arg) and double dash (as delimeter) support #63

Closed selaselah closed 3 years ago

selaselah commented 3 years ago

support dash and double dash. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 https://github.com/adishavit/argh/issues/58

adishavit commented 3 years ago

This goes against the minimalist and simple spirit of the library. Argh does not care how many dashes you use (except for the case when specifying SINGLE_DASH_IS_MULTIFLAG). 🤷 ¯_(ツ)_/¯