summaryrefslogtreecommitdiff
path: root/src/core/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/commands.h')
-rw-r--r--src/core/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/commands.h b/src/core/commands.h
index 51bfda57..f5a5c084 100644
--- a/src/core/commands.h
+++ b/src/core/commands.h
@@ -82,6 +82,9 @@ int command_have_sub(const char *command);
((c) == '-' || (c) == '+' || (c) == '@')
void command_set_options(const char *cmd, const char *options);
+/* Returns TRUE if command has specified option. */
+int command_have_option(const char *cmd, const char *option);
+
/* count can have these flags: */
#define PARAM_WITHOUT_FLAGS(a) ((a) & 0x00ffffff)
/* don't check for quotes - "arg1 arg2" is NOT treated as one argument */