Add CLI switch to choose relearning mode; default: re-learn only transitions