-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending unclear #1649
Comments
Hey @pepa65, you said:
but later got it working. What command were you using the first time, when you added |
I guess |
Ah, OK, so I'm guessing the unclear bit in the Let's say the message was:
Do you think this would have helped? |
My problem was not so much with the clarity of the message. although what you propose is clearer. I started with this:
This seems to suggest that nothing goes before the I think it needs to be clarified that some flags need to come before the subcomand, and they are completely separate from any flags after the subcommand. |
For posterity, if there are multiple accounts registered on your |
BTW there's a number of arguments, not just I'm not sure including them in the One idea, perhaps the error message should use the long name for the argument?
In general, though, signal-cli is a tool where lots of functionality has to be packed behind arguments and parameters. In this aspect it is a little similar to, say, curl. Like with curl, you can't read the help output and expect to master it. It is a complex thing that takes some figuring out :-) |
Yes, once I realized there were command-wide flags that go before the subcommand and subcommand-specific flags that come after, it all started to make sense. You could consider an |
If I do
signal-cli send -h
it gives a usage message where-u
must be followed by USERNAME and-a
by ATTACHMENT. But if I trysignal-cli send -u USERNAME -m MESSAGE RECIPIENT
it comes back withMultiple users found, you need to specify an account (phone number) with -a
. But if I do that, it still comes back with the same message.It seems the help-message, or the error-message is broken, and in any case, I can't seem to figure out how to send a message...
EDIT: using
signal-cli -a PHONENR send -u USERNAME.NUM -m MESSAGE
works!! It seems the help and error messages need a complete overhaul...The text was updated successfully, but these errors were encountered: