mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
/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:
parent
2de5b40ac5
commit
2e3a056110
3 changed files with 12 additions and 6 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue