Forum Navigation
modern getopt-like option parser
Moderators:
kris
Posted: 06/17/07 13:45:46Is there some functionality to process program arguments other the C methods getopt() und getopt_long()? Would be pretty cool, as the getopt style is obsolete in D. Instead of returning from getopt, delegates for each option could be used which would make some things easier. Short and long options could also be combined. I believe, in the future this is a must-have, as getopt_long isn't ported to all platforms (okay, D isn't, too, but it should happen :) )