group all mapped flags to version