Improve display of the list command