feature #2371: do not print extra line in list commands