Update Readme and fix help bug in Main

This commit is contained in:
AsamK 2016-05-19 18:00:16 +02:00
parent e59ceef6e3
commit 39687f9d87
2 changed files with 5 additions and 1 deletions

View file

@ -41,6 +41,10 @@ usage: signal-cli [-h] [-v] [--config CONFIG] [-u USERNAME | --dbus | --dbus-sys
signal-cli -u USERNAME updateGroup -g GROUP_ID -n "New group name"
* Leave a group
signal-cli -u USERNAME quitGroup -g GROUP_ID
* Send a message to a group
signal-cli -u USERNAME send -m "This is a message" -g GROUP_ID

View file

@ -504,7 +504,7 @@ public class Main {
.help("Show package version.")
.action(Arguments.version());
parser.addArgument("--config")
.help("Set the path, where to store the config (Default: $HOME/.config/signal-cli).");
.help("Set the path, where to store the config (Default: $HOME/.config/signal).");
MutuallyExclusiveGroup mut = parser.addMutuallyExclusiveGroup();
mut.addArgument("-u", "--username")