emaint: remove callback usage

This will simplify conversion to argparse.
emaint: fix exclusive action handling

It broke in commit 42b0a6e898172c375d4d47c3346b25dac2333bf0.