Automatically add/remove '/' when adding and removing aliases

This commit is contained in:
James Booth
2014-11-30 23:34:54 +00:00
parent e70cbd1b61
commit 8fee155797
2 changed files with 17 additions and 7 deletions

View File

@@ -721,9 +721,9 @@ static struct cmd_t command_defs[] =
{ "/alias add|remove|list [name value]",
"-----------------------------------",
"Add, remove or show command aliases.",
"The alias will be available as a command",
"The alias will be available as a command, the leading '/' will be added if not supplied.",
"Example : /alias add friends /who online friends",
"Example : /alias add q /quit",
"Example : /alias add /q /quit",
"Example : /alias a /away \"I'm in a meeting.\"",
"Example : /alias remove q",
"Example : /alias list",