Add argparse parser for merge command.

Incidentally fix an error where the --merge option would be used as value for the --merge2 option as well.
if that option itself was unused.