mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Move recipients/group argument check to send commands
This commit is contained in:
parent
9e061c8667
commit
b31e97dd2d
3 changed files with 31 additions and 25 deletions
|
@ -93,11 +93,6 @@ public class Main {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (ns.getList("recipient") != null && !ns.getList("recipient").isEmpty() && ns.getString("group") != null) {
|
||||
System.err.println("You cannot specify recipients by phone number and groups at the same time");
|
||||
System.exit(2);
|
||||
}
|
||||
|
||||
return ns;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue