- public void handleCommand(final Namespace ns, final Manager m) throws CommandException {
- for (var contact_number : ns.<String>getList("contact")) {
+ public void handleCommand(
+ final Namespace ns, final Manager m, final OutputWriter outputWriter
+ ) throws CommandException {
+ final var contacts = ns.<String>getList("recipient");
+ for (var contact : CommandUtil.getSingleRecipientIdentifiers(contacts, m.getUsername())) {