31 can be specified --only-res-code and fix option messages in error