stdio
stdio copied to clipboard
getopt: name containing dash (e.g. --num-max) supported?
It's common for long options to contain -
. I can't figure out a way to add a name that contains a dash.
I was hoping either _
gets converted to -
, or that it's possible to specify a destination variable. I believe python's argparse works this way.