added option to ignore minor version number