[PATCH] Proposal for a new option framework

Eitan Adler lists at eitanadler.com
Thu Nov 18 18:39:51 UTC 2010


> Just pulled your latest changes, and now it takes more arrow keys to kill
> it, but two tabs still does the trick.

Ah, yes.
This is a feature request that I have not gotten around to yet (I've
been working on the one requests). At the moment "long description" is
a filename you provide when you give via --hfile. Some people want it
to be a user supplied string instead of a filename.

>From the usage()
--option optionName=description [--hfile filename]

There is only = mark which marks the option name and the description.
I probably should add some sanity checking for the command line
parsing.

Look at withlicence.sh and nolicence.sh for examples on how to run the
program for now.

-- 
Eitan Adler


More information about the freebsd-ports mailing list