jamesderlin / dropt

dropt is yet another C library for parsing command-line options.
zlib License
42 stars 7 forks source link

Implement positional args #8

Open KOLANICH opened 3 years ago

jamesderlin commented 3 years ago

dropt is meant to parse options, not positional arguments, but I'll consider adding some separate mechanism to handle positional arguments. Usually handling positional arguments is either straightforward (in which case dropt doesn't have much to offer) or requires specialized rules (in which case dropt would need to provide a lot of flexibility or would be too rigid to be useful).