about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-22 00:34:30 +0100
committerJames Booth <boothj5@gmail.com>2016-08-22 00:34:35 +0100
commitf14a3e075e5aa6cb75a5e67626f3fdd2650a55d8 (patch)
treec3f7f04f75f0cea53a17fa735bd8c98e70214129 /src
parenta49c63fc75843a677adce5242cb575525fe774b1 (diff)
downloadprofani-tty-f14a3e075e5aa6cb75a5e67626f3fdd2650a55d8.tar.gz
Update help
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_defs.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 14afd7c2..19529a68 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -121,9 +121,8 @@ static struct cmd_t command_defs[] =
             "/help [<area>|<command>]")
         CMD_DESC(
             "Help on using Profanity. Passing no arguments list help areas. "
-            "For command help, optional arguments are shown using square brackets e.g. [argument], "
-            "arguments representing variables rather than a literal name are surrounded by angle brackets "
-            "e.g. <argument>. "
+            "For command help, optional arguments are shown using square brackets, "
+            "arguments representing variables rather than a literal name are surrounded by angle brackets. "
             "Arguments that may be one of a number of values are separated by a pipe "
             "e.g. val1|val2|val3.")
         CMD_ARGS(
@@ -393,7 +392,7 @@ static struct cmd_t command_defs[] =
         CMD_DESC(
             "Manage blocked users, calling with no arguments shows the current list of blocked users.")
         CMD_ARGS(
-            { "add [<jid>]",    "Block the specified Jabber ID, if in a chat window, and not jid specified, the current recipient will be blocked." },
+            { "add [<jid>]",    "Block the specified Jabber ID. If in a chat window and no jid is specified, the current recipient will be blocked." },
             { "remove <jid>",   "Remove the specified Jabber ID from the blocked list." })
         CMD_EXAMPLES(
             "/blocked add spammer@spam.org")
@@ -1341,8 +1340,8 @@ static struct cmd_t command_defs[] =
             { "chat on|off",                    "Notifications for regular chat messages." },
             { "chat current on|off",            "Whether to show regular chat message notifications when the window is focussed." },
             { "chat text on|off",               "Show message text in regular message notifications." },
-            { "room on|off",                    "Notifications for all chat room messages, 'mention' only notifies when your nick is mentioned." },
-            { "room mention on|off",            "Notifications for all chat room messages when your nick is mentioned." },
+            { "room on|off",                    "Notifications for all chat room messages." },
+            { "room mention on|off",            "Notifications for chat room messages when your nick is mentioned." },
             { "room mention case_sensitive",    "Set room mention notifications as case sensitive." },
             { "room mention case_insensitive",  "Set room mention notifications as case insensitive." },
             { "room mention word_whole",        "Set room mention notifications only on whole word match, i.e. when nickname is not part of a larger word." },
@@ -1735,7 +1734,7 @@ static struct cmd_t command_defs[] =
             { "where",           "Show the current log file location." },
             { "rotate on|off",   "Rotate log, default on." },
             { "maxsize <bytes>", "With rotate enabled, specifies the max log size, defaults to 1048580 (1MB)." },
-            { "shared on|off",   "Share logs between all instances, default: on. When off, the process id will be included in the log." })
+            { "shared on|off",   "Share logs between all instances, default: on. When off, the process id will be included in the log filename." })
         CMD_NOEXAMPLES
     },
 
@@ -1940,7 +1939,7 @@ static struct cmd_t command_defs[] =
             { "set <account> status <presence>",        "The presence status to use on login." },
             { "set <account> status last",              "Use your last status before logging out, when logging in." },
             { "set <account> <presence> <priority>",    "Set the priority (-128..127) to use for the specified presence." },
-            { "set <account> resource <resource>",      "The resource to be used for this account." },
+            { "set <account> resource <resource>",      "The resource to be used for this account, defaults to 'profanity'." },
             { "set <account> password <password>",      "Password for the account, note this is currently stored in plaintext if set." },
             { "set <account> eval_password <command>",  "Shell command evaluated to retrieve password for the account. Can be used to retrieve password from keyring." },
             { "set <account> muc <service>",            "The default MUC chat service to use, defaults to 'conference.<domainpart>' where the domain part is from the account JID." },
@@ -1969,7 +1968,7 @@ static struct cmd_t command_defs[] =
             "/account set me nick dennis",
             "/account set me status dnd",
             "/account set me dnd -1",
-            "/account rename me gtalk")
+            "/account rename me chattyme")
     },
 
     { "/plugins",
299' href='#n299'>299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539