From fae2717f27f4a45f03a50f2ccbf894e45af1cdce Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 15 Mar 2015 20:04:53 +0000 Subject: [PATCH] Tidied help --- src/command/command.c | 4 ++-- src/ui/console.c | 26 ++++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index fe390fcb..5cf3f35d 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -923,8 +923,8 @@ static struct cmd_t command_defs[] = { "/receipts", cmd_receipts, parse_args, 1, 1, &cons_receipts_setting, - { "/reciepts on|off", "Message delivery receipts.", - { "/reciepts on|off", + { "/receipts on|off", "Message delivery receipts.", + { "/receipts on|off", "----------------", "Enable or disable message delivery receipts.", "The user interface will indicate when a message has been received.", diff --git a/src/ui/console.c b/src/ui/console.c index 1c608dd9..cd74f455 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1142,27 +1142,27 @@ void cons_states_setting(void) { if (prefs_get_boolean(PREF_STATES)) - cons_show("Send chat states (/states) : ON"); + cons_show("Send chat states (/states) : ON"); else - cons_show("Send chat states (/states) : OFF"); + cons_show("Send chat states (/states) : OFF"); } void cons_outtype_setting(void) { if (prefs_get_boolean(PREF_OUTTYPE)) - cons_show("Send composing (/outtype) : ON"); + cons_show("Send composing (/outtype) : ON"); else - cons_show("Send composing (/outtype) : OFF"); + cons_show("Send composing (/outtype) : OFF"); } void cons_intype_setting(void) { if (prefs_get_boolean(PREF_INTYPE)) - cons_show("Show typing (/intype) : ON"); + cons_show("Show typing (/intype) : ON"); else - cons_show("Show typing (/intype) : OFF"); + cons_show("Show typing (/intype) : OFF"); } void @@ -1170,11 +1170,11 @@ cons_gone_setting(void) { gint gone_time = prefs_get_gone(); if (gone_time == 0) { - cons_show("Leave conversation (/gone) : OFF"); + cons_show("Leave conversation (/gone) : OFF"); } else if (gone_time == 1) { - cons_show("Leave conversation (/gone) : 1 minute"); + cons_show("Leave conversation (/gone) : 1 minute"); } else { - cons_show("Leave conversation (/gone) : %d minutes", gone_time); + cons_show("Leave conversation (/gone) : %d minutes", gone_time); } } @@ -1182,9 +1182,9 @@ void cons_history_setting(void) { if (prefs_get_boolean(PREF_HISTORY)) - cons_show("Chat history (/history) : ON"); + cons_show("Chat history (/history) : ON"); else - cons_show("Chat history (/history) : OFF"); + cons_show("Chat history (/history) : OFF"); } void @@ -1200,7 +1200,7 @@ void cons_receipts_setting(void) { if (prefs_get_boolean(PREF_RECEIPTS)) - cons_show("Message receipts (/reciepts) : ON"); + cons_show("Message receipts (/receipts) : ON"); else cons_show("Message receipts (/receipts) : OFF"); } @@ -1215,6 +1215,8 @@ cons_show_chat_prefs(void) cons_intype_setting(); cons_gone_setting(); cons_history_setting(); + cons_carbons_setting(); + cons_receipts_setting(); cons_alert(); }