Re: linux-ipsec: args from files
I think "tar" makes a good model. It (gnu tar anyway) has both
positional arguments and the ability to supply some of it via a file.
There is no notion that you must do all one or all the other.
So I'd suggest to allow parameters to be specified via individual
options (e.g., "--spi 65") and *also* via entries in an options file
(e.g., "--options optfile", and then optfile contains a line "spi
65"). The usual ordering rules would apply, i.e., with that optfile,
if you say "--options optfile --spi 10" you get spi 10, if you say
"--spi 10 --options optfile" you get spi 65.
paul
Received on Wed Jul 22 18:10:38 1998
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 12:59:24 EDT
|