Improve formatting of list command.