Added Quit group option

This commit is contained in:
conte 2016-05-18 15:33:13 +02:00
parent 11baf18fae
commit 3549e3b51e
2 changed files with 3 additions and 10 deletions

View file

@ -550,7 +550,7 @@ public class Main {
Subparser parserSend = subparsers.addParser("send");
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")
.help("Specify the recipients' phone number.")
.nargs("*");

View file

@ -63,16 +63,9 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
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 TrustStore TRUST_STORE = new LoopbackTrustStore();
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();
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_VERSION = Manager.class.getPackage().getImplementationVersion();