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:
parent
18a4f7da0e
commit
6abbe62710
@ -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",
|
||||
"---------",
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user