summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-06-02 15:49:35 +0000
committerMaxime Coste <frrrwww@gmail.com>2012-06-02 15:49:35 +0000
commitf972428823e98c071074a74cce8ae3b0ea871309 (patch)
tree54106b4a00f534b9ac7a2c6e6d250083cafe5071 /src/command_manager.hh
parent0a848fa45061ce27a99dafae3105fcbc4bacc4c7 (diff)
The def command do not override commands by default, use -allow-override
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index 54d67b80..b3f0917e 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -62,6 +62,8 @@ public:
Completions complete(const String& command_line, size_t cursor_pos);
+ bool command_defined(const String& command_name) const;
+
void register_command(const String& command_name,
Command command,
unsigned flags = None,