mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update Readme and fix help bug in Main
This commit is contained in:
parent
e59ceef6e3
commit
39687f9d87
2 changed files with 5 additions and 1 deletions
|
@ -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"
|
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
|
* Send a message to a group
|
||||||
|
|
||||||
signal-cli -u USERNAME send -m "This is a message" -g GROUP_ID
|
signal-cli -u USERNAME send -m "This is a message" -g GROUP_ID
|
||||||
|
|
|
@ -504,7 +504,7 @@ public class Main {
|
||||||
.help("Show package version.")
|
.help("Show package version.")
|
||||||
.action(Arguments.version());
|
.action(Arguments.version());
|
||||||
parser.addArgument("--config")
|
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();
|
MutuallyExclusiveGroup mut = parser.addMutuallyExclusiveGroup();
|
||||||
mut.addArgument("-u", "--username")
|
mut.addArgument("-u", "--username")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue