diff options
author | Timo Sirainen <cras@irssi.org> | 2000-08-16 00:48:29 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-08-16 00:48:29 +0000 |
commit | 2e3a056110d37afab8324bb5f272601c4b986054 (patch) | |
tree | 6cf03a79dc041222ac737df4d4ee8be02323f4f5 /src/core/commands.h | |
parent | 2de5b40ac542f80215a11418c81b75453479e89e (diff) | |
download | irssi-2e3a056110d37afab8324bb5f272601c4b986054.zip |
/LAST - didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.h')
-rw-r--r-- | src/core/commands.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/commands.h b/src/core/commands.h index f5a5c084..6a9d9be4 100644 --- a/src/core/commands.h +++ b/src/core/commands.h @@ -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. */ |