Red Hat Bugzilla – Bug 115568
redhat-switch-mail should accept command line parameters
Last modified: 2007-11-30 17:07:00 EST
Description of problem:
redhat-switch-mail does not seem to accept command line parameters
and will always dump you to an interactive curses-based or x-based
interface. Having it accept a parameter from the command line would
allow users to call this tool in the %post of a kickstart. If the
parameter is invalid, it should return error or usage info rather
than dumping to the interactive mode (so kickstart wont hang).
if you want to use command line paramaters, you should use alternates,
which is used as backend in redhat-switch-mail.
I don't think it will make sence to add this feature there.