mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
FIX: wrong help text
This commit is contained in:
parent
e79620436e
commit
d045c97836
1 changed files with 2 additions and 4 deletions
|
@ -20,11 +20,8 @@ public class MqttCommand implements LocalCommand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void attachToSubparser(final Subparser subparser) {
|
public void attachToSubparser(final Subparser subparser) {
|
||||||
//subparser.addArgument("--json")
|
|
||||||
// .help("Output received messages in json format, one json object per line.")
|
|
||||||
// .action(Arguments.storeTrue());
|
|
||||||
subparser.addArgument("-b", "--broker")
|
subparser.addArgument("-b", "--broker")
|
||||||
.help("Output received messages in json format, one json object per line.")
|
.help("The broker to connect to, default: " + DEFAULT_MQTT_BROKER)
|
||||||
.action(Arguments.store());
|
.action(Arguments.store());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,6 +46,7 @@ public class MqttCommand implements LocalCommand {
|
||||||
System.out.println("Connecting to broker: " + broker);
|
System.out.println("Connecting to broker: " + broker);
|
||||||
mqttClient.connect(connOpts);
|
mqttClient.connect(connOpts);
|
||||||
System.out.println("Connected");
|
System.out.println("Connected");
|
||||||
|
|
||||||
boolean ignoreAttachments = false;
|
boolean ignoreAttachments = false;
|
||||||
try {
|
try {
|
||||||
m.receiveMessages(1,
|
m.receiveMessages(1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue