Fixed the help string for --username in lm-send-async and test-lm examples
authorMikael Hallendal <micke@imendio.com>
Thu, 28 Aug 2008 11:13:11 +0200
changeset 482 08a9810b415b
parent 479 812dd97245db
child 483 2ca213d87266
Fixed the help string for --username in lm-send-async and test-lm examples The help string said that you should only use 'user' in 'user@foo.bar' while the code requires a full jid.
examples/lm-send-async.c
examples/test-lm.c
--- a/examples/lm-send-async.c	Thu Aug 28 10:21:42 2008 +0200
+++ b/examples/lm-send-async.c	Thu Aug 28 11:13:11 2008 +0200
@@ -52,7 +52,7 @@
   { "port", 'P', 0, G_OPTION_ARG_INT, &port, 
     "Port to connect to [default=5222]", NULL },
   { "username", 'u', 0, G_OPTION_ARG_STRING, &username, 
-    "Username to connect with (e.g. 'user' in user@server.org)", NULL },
+    "Username to connect with (user@server.org)", NULL },
   { "password", 'p', 0, G_OPTION_ARG_STRING, &password, 
     "Password to try", NULL },
   { "resource", 'r', 0, G_OPTION_ARG_STRING, &resource, 
--- a/examples/test-lm.c	Thu Aug 28 10:21:42 2008 +0200
+++ b/examples/test-lm.c	Thu Aug 28 11:13:11 2008 +0200
@@ -45,7 +45,7 @@
   { "port", 'P', 0, G_OPTION_ARG_INT, &port, 
     "Port to connect to [default=5222]", NULL },
   { "username", 'u', 0, G_OPTION_ARG_STRING, &username, 
-    "Username to connect with (e.g. 'user' in user@server.org)", NULL },
+    "Username to connect with (user@server.org)", NULL },
   { "password", 'p', 0, G_OPTION_ARG_STRING, &password, 
     "Password to try", NULL },
   { "resource", 'r', 0, G_OPTION_ARG_STRING, &resource,