Match format of listGroups

This commit is contained in:
VisibleCode 2019-12-02 12:26:10 -08:00
parent 948adad907
commit aa810412e8

View file

@ -20,8 +20,7 @@ public class ListContactsCommand implements LocalCommand {
}
List<ContactInfo> contacts = m.getContacts();
for (ContactInfo c : contacts) {
System.out.println("Contact " + c.number);
System.out.println(" Name: " + c.name);
System.out.println(String.format("Id: %s Name: %s", c.number, c.name));
}
return 0;
}