about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-12-22 23:48:45 +0000
committerJames Booth <boothj5@gmail.com>2012-12-22 23:48:45 +0000
commit8756ae552b586ccb8b4a58cacb05a070ef6d4f73 (patch)
tree71a04d8ad5deb21cb71a28eb842acb7b98392feb
parent44dab335521fc28022f470ead62e2165e18f287b (diff)
downloadprofani-tty-8756ae552b586ccb8b4a58cacb05a070ef6d4f73.tar.gz
Fixed help on /connect
-rw-r--r--src/command.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/command.c b/src/command.c
index 0c7dded5..6fe78ae7 100644
--- a/src/command.c
+++ b/src/command.c
@@ -160,11 +160,12 @@ static struct cmd_t main_commands[] =
 
     { "/connect",
         _cmd_connect, parse_args, 1, 2,
-        { "/connect jid [server]", "Login to jabber.",
-        { "/connect jid [server]",
-          "----------------------",
-          "Connect to an XMPP service using the specified JID (Jabber ID).",
-          "server : For chat services hosted at a different domain to the 'domain' part of the Jabber ID.",
+        { "/connect account [server]", "Login to a chat service.",
+        { "/connect account [server]",
+          "-------------------------",
+          "Connect to an XMPP service using the specified account.",
+          "Use the server argument for chat services hosted at a different domain to the 'domain' part of the Jabber ID.",
+          "An account is automatically created if one does not exist.  See the /account command for more details.",
           "",
           "Example: /connect myuser@gmail.com",
           "Example: /connect myuser@mycompany.com talk.google.com",
'>134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257