|
Hi.
How should getopts know that the string "-f" is not an appropriate value for the argument of option "-p"? ... cheers, drl
PS In the getopts I use, the case selectors should not have leading "-" characters.
PPS Also note that you have set "d:", but did not use OPTARG in the case selector for "-d".
Last edited by drl; 03-17-2008 at 12:36 PM..
|