Write a code generator for handling option parsing, using getopt(3). We might be able to use Getopt::Declare for this, look into the feasibility of subclassing it to generate C code.
Log in to post a comment.