Hi Steffen, > > -R | -R address > > Without any argument any folders will be opened read-only. > > With argument an reply-to adress is specifed on command line. > > Only the first argument after the -R flag is used as the > > address. > > -R flag. This now really works, btw. We do not support optional > arguments, and Heirloom did not too. This must be some other > getopt implementation that is used.
Some getopt(3) support `::' to mean an optional argument. Another alternative to try with your existing implementation is using `:' for a mandatory argument and decrementing `optind' if the `argument' looks like an option. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy
