1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05: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 } } },
{ "/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",
"---------",

View File

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