mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
Match format of listGroups
This commit is contained in:
parent
948adad907
commit
aa810412e8
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ public class ListContactsCommand implements LocalCommand {
|
||||||
}
|
}
|
||||||
List<ContactInfo> contacts = m.getContacts();
|
List<ContactInfo> contacts = m.getContacts();
|
||||||
for (ContactInfo c : contacts) {
|
for (ContactInfo c : contacts) {
|
||||||
System.out.println("Contact " + c.number);
|
System.out.println(String.format("Id: %s Name: %s", c.number, c.name));
|
||||||
System.out.println(" Name: " + c.name);
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue