1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-14 18:14:15 -04:00

Allow whitespace in argument to /info

This commit is contained in:
James Booth 2013-01-13 19:53:42 +00:00
parent 18a4f7da0e
commit 6abbe62710
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ static struct cmd_t main_commands[] =
NULL } } }, NULL } } },
{ "/info", { "/info",
_cmd_info, parse_args, 1, 1, _cmd_info, parse_args_with_freetext, 1, 1,
{ "/info jid", "Find out a contacts presence information.", { "/info jid", "Find out a contacts presence information.",
{ "/info jid", { "/info jid",
"---------", "---------",

View File

@ -1168,7 +1168,7 @@ cons_show_status(const char * const contact)
if (pcontact != NULL) { if (pcontact != NULL) {
_cons_show_contact(pcontact); _cons_show_contact(pcontact);
} else { } else {
cons_show("No such contact %s in roster.", contact); cons_show("No such contact \"%s\" in roster.", contact);
} }
} }