]> nmode's Git Repositories - signal-cli/commitdiff
Update README, man page
authorAsamK <asamk@gmx.de>
Sat, 28 Jan 2017 09:48:55 +0000 (10:48 +0100)
committerAsamK <asamk@gmx.de>
Sat, 28 Jan 2017 09:50:19 +0000 (10:50 +0100)
Add note about country calling code

README.md
man/signal-cli.1.txt

index b1c3c1fc263e2bcc3579d6bb89ce437e2d19c6d0..3e354013ec7a11f398dcf24e02feff0bb07f8331 100644 (file)
--- a/README.md
+++ b/README.md
@@ -22,6 +22,8 @@ usage: signal-cli [-h] [-v] [--config CONFIG] [-u USERNAME | --dbus | --dbus-sys
 
 See also: [man page in asciidoc format](https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.txt)
 
 
 See also: [man page in asciidoc format](https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.txt)
 
+The USERNAME (your phone number) must include the country calling code, i.e. the number must start with a "+" sign. (See [Wikipedia](https://en.wikipedia.org/wiki/List_of_country_calling_codes) for a list of all country codes.
+
 * Register a number (with SMS verification)
 
         signal-cli -u USERNAME register
 * Register a number (with SMS verification)
 
         signal-cli -u USERNAME register
index c4800d61656e6f6b43b4eccae2e600d912ea31ab..ddf855fd31bfc59e59d11e97083d03bcd253972e 100644 (file)
@@ -39,6 +39,8 @@ Options
 
 *-u* USERNAME, *--username* USERNAME::
        Specify your phone number, that will be your identifier.
 
 *-u* USERNAME, *--username* USERNAME::
        Specify your phone number, that will be your identifier.
+       The phone number must include the country calling code, i.e. the number must
+       start with a "+" sign.
 
 *--dbus*::
        Make request via user dbus.
 
 *--dbus*::
        Make request via user dbus.