mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-08-30 06:16:02 +00:00
Fix typo in SendPollCreateCommand.java
Fix typo in error message, when options < 2
This commit is contained in:
parent
7e93a15204
commit
de42f55e37
@ -70,7 +70,7 @@ public class SendPollCreateCommand implements JsonRpcLocalCommand {
|
||||
final var noMulti = Boolean.TRUE.equals(ns.getBoolean("no-multi"));
|
||||
final var options = ns.<String>getList("option");
|
||||
if (options.size() < 2) {
|
||||
throw new UserErrorException("Poll needs at least tow options");
|
||||
throw new UserErrorException("Poll needs at least two options");
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user