Remove warning in the list command.
Fix trailing new line in the every entry in the list command.