Hey,
So after looking into the getopt() code for dbmail-smtp, and rearranging a
little bit to make room for "-f config file" as in some of the other main
routines, it occurs to me that a little standardization can go a long way...
dbmail-maintenance takes a "-f" for "fix". I'd like to change that to be "-r"
for "repair" and add the argument "-f config file".
Similarly, dbmail-adduser does not have a config file argument, and frankly,
I'm scared of the current command line parser, so I'd really like to do the
getopt() rewrite as soon as possible, to add "-f" (and maybe a little sanity,
too ;-)
Anybody else that's missing? I can't think of any other arguments that are as
fundamentally across the board as the alternate config file... suggestions?
Aaron
So after looking into the getopt() code for dbmail-smtp, and rearranging a
little bit to make room for "-f config file" as in some of the other main
routines, it occurs to me that a little standardization can go a long way...
dbmail-maintenance takes a "-f" for "fix". I'd like to change that to be "-r"
for "repair" and add the argument "-f config file".
Similarly, dbmail-adduser does not have a config file argument, and frankly,
I'm scared of the current command line parser, so I'd really like to do the
getopt() rewrite as soon as possible, to add "-f" (and maybe a little sanity,
too ;-)
Anybody else that's missing? I can't think of any other arguments that are as
fundamentally across the board as the alternate config file... suggestions?
Aaron