diff options
author | James Booth <boothj5@gmail.com> | 2014-11-30 23:34:54 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-30 23:34:54 +0000 |
commit | 8fee15579765d27aedbcdcd0cc418a6627de2353 (patch) | |
tree | 5324bbd145f7657c4f203a65aadd10b96a918e5e /src/command/command.c | |
parent | e70cbd1b618d35e441cd412649651ea6b8cd97e3 (diff) | |
download | profani-tty-8fee15579765d27aedbcdcd0cc418a6627de2353.tar.gz |
Automatically add/remove '/' when adding and removing aliases
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c index 6c52af2a..9abc4cf3 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -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", |