optparse icon indicating copy to clipboard operation
optparse copied to clipboard

can this support more than 26 options?

Open bitsofinfo opened this issue 7 years ago • 2 comments

can this support more than 26 options? I.E. the limit of possibilities for the -short option, does that take anything other than alphas?

bitsofinfo avatar Jan 10 '17 19:01 bitsofinfo

Looks like casing doubles that, plus you can use numbers, i.e.

short=P
short=p
short=1
short=9

bitsofinfo avatar Jan 10 '17 19:01 bitsofinfo

I hadn't considered the case when you would run out of labels for the short flag. The short flag option can be made optional, would that work?

nk412 avatar Mar 17 '17 17:03 nk412