improve list command formatting