/LAST - didn't work right.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-08-16 00:48:29 +00:00 committed by cras
commit 2e3a056110
3 changed files with 12 additions and 6 deletions

View file

@ -68,6 +68,7 @@ int command_have_sub(const char *command);
options separated with space, each option can contain a special
char in front of it:
'!': no argument (default)
'-': optional argument
'+': argument required
'@': optional numeric argument
@ -79,7 +80,7 @@ int command_have_sub(const char *command);
will be merged. If there's any conflicts with option types, the last
call will override the previous */
#define iscmdtype(c) \
((c) == '-' || (c) == '+' || (c) == '@')
((c) == '!' || (c) == '-' || (c) == '+' || (c) == '@')
void command_set_options(const char *cmd, const char *options);
/* Returns TRUE if command has specified option. */