command: added safeguards for the -tag cli option and config file tags. Both will be incompatible with -tags-file to avoid complications.
command: fixed test for config file tags and tag files
fix minor merge conflict