mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
Added Quit group option
This commit is contained in:
parent
11baf18fae
commit
3549e3b51e
2 changed files with 3 additions and 10 deletions
|
@ -550,7 +550,7 @@ public class Main {
|
||||||
|
|
||||||
Subparser parserSend = subparsers.addParser("send");
|
Subparser parserSend = subparsers.addParser("send");
|
||||||
parserSend.addArgument("-g", "--group")
|
parserSend.addArgument("-g", "--group")
|
||||||
.help("Specify the recipient group ID. If '-m' parameter is not present the messag is read from STDIN and yuo have to type <ENTER>CTRL+D<ENTER> (aka EOF) in order to stop reading and sending the content");
|
.help("Specify the recipient group ID. If '-m' parameter is not <CR>CTRL+D<CR> (aka EOF) in order to stop reading from STDIN and send the content");
|
||||||
parserSend.addArgument("recipient")
|
parserSend.addArgument("recipient")
|
||||||
.help("Specify the recipients' phone number.")
|
.help("Specify the recipients' phone number.")
|
||||||
.nargs("*");
|
.nargs("*");
|
||||||
|
|
|
@ -63,16 +63,9 @@ import java.util.concurrent.TimeUnit;
|
||||||
import java.util.concurrent.TimeoutException;
|
import java.util.concurrent.TimeoutException;
|
||||||
|
|
||||||
class Manager implements Signal {
|
class Manager implements Signal {
|
||||||
// private final static String URL = "https://10.1.4.252:8080";
|
|
||||||
// private final static TrustStore TRUST_STORE = new TenOneFourTwohundredfiftyfourTrustStore();
|
|
||||||
|
|
||||||
// private final static String URL = "https://127.0.0.1:8080";
|
private final static String URL = "https://textsecure-service.whispersystems.org";
|
||||||
// private final static TrustStore TRUST_STORE = new LoopbackTrustStore();
|
private final static TrustStore TRUST_STORE = new WhisperTrustStore();
|
||||||
|
|
||||||
private final static String URL = "https://signal.sinesy.it:8080";
|
|
||||||
private final static TrustStore TRUST_STORE = new SinesyTrustStore();
|
|
||||||
//private final static String URL = "https://textsecure-service.whispersystems.org";
|
|
||||||
//private final static TrustStore TRUST_STORE = new WhisperTrustStore();
|
|
||||||
|
|
||||||
public final static String PROJECT_NAME = Manager.class.getPackage().getImplementationTitle();
|
public final static String PROJECT_NAME = Manager.class.getPackage().getImplementationTitle();
|
||||||
public final static String PROJECT_VERSION = Manager.class.getPackage().getImplementationVersion();
|
public final static String PROJECT_VERSION = Manager.class.getPackage().getImplementationVersion();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue