As described at https://bugzilla.redhat.com/show_bug.cgi?id=471085 if hunspell is used as an ispell replacement, then the "-m" command line option in hunspell changes the hunspell mode away from ispell mode but -m is an ispell command line option which can be safely ignored in ispell-mode.
So attached patch makes -a override all other alternative hunspell mode switch options so that it can continue to be used as an ispell replacement by e.g. emacs
patch to do this
Hi Caolan, many thanks for your nice patch. László
committed as src/tools/hunspell.cxx 1.3