From 1ff3f07ab56f4e9762e09bf88f3992ff92aff8fc Mon Sep 17 00:00:00 2001 From: AsamK Date: Mon, 6 Jul 2015 11:17:47 +0200 Subject: [PATCH] Update README --- README.md | 6 +++++- src/main/java/cli/Main.java | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 897b9fd1..c2174be1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # textsecure-cli -textsecure-cli is a commandline interface for [libtextsecure-java](https://github.com/WhisperSystems/libtextsecure-java). It supports registering, verifying, sending and receiving messages. However receiving messages currently doesn't work, because libtextsecure-java [does not yet support registering for the websocket support](https://github.com/WhisperSystems/libtextsecure-java/pull/5). For registering you need a phone number where you can receive SMS. +textsecure-cli is a commandline interface for [libtextsecure-java](https://github.com/WhisperSystems/libtextsecure-java). It supports registering, verifying, sending and receiving messages. However receiving messages currently doesn't work, because libtextsecure-java [does not yet support registering for the websocket support](https://github.com/WhisperSystems/libtextsecure-java/pull/5). For registering you need a phone number where you can receive SMS or incoming calls. It is primarily intented to be used on servers to notify admins of important events. ## Usage @@ -11,6 +11,10 @@ usage: textsecure-cli [-h] -u USERNAME {register,verify,send,receive} ... textsecure-cli -u USERNAME register +* Register a number with voice verification + + textsecure-cli -u USERNAME register -v + * Verify the number using the code received via SMS textsecure-cli -u USERNAME verify CODE diff --git a/src/main/java/cli/Main.java b/src/main/java/cli/Main.java index 92e1b46c..9a915dee 100644 --- a/src/main/java/cli/Main.java +++ b/src/main/java/cli/Main.java @@ -47,8 +47,8 @@ public class Main { .help("additional help"); Subparser parserRegister = subparsers.addParser("register"); parserRegister.addArgument("-v", "--voice") - .help("The verification should be done over voice, not sms.") - .action(Arguments.storeTrue()); + .help("The verification should be done over voice, not sms.") + .action(Arguments.storeTrue()); Subparser parserVerify = subparsers.addParser("verify"); parserVerify.addArgument("verificationCode") .help("The verification code you received via sms or voice call."); -- 2.50.1