added option --short-errors