1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Tidied help

This commit is contained in:
James Booth 2015-03-15 20:04:53 +00:00
parent 2762f18a3e
commit fae2717f27
2 changed files with 16 additions and 14 deletions

View File

@ -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.",

View File

@ -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();
}