summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-03-24 00:05:40 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-03-24 00:05:40 +0000
commit1d646c03f563e79ee3ea972e6b739a35c7b70740 (patch)
tree0d908ad22ea37b9dd0e509dadc9a38abf7cf03db /src/command_manager.hh
parentabd5afe0129abad0fec6799fc7329a0ca38c1e45 (diff)
Add completion support for alias/unalias commands
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index 090ed0fb..4a1c4c01 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -124,14 +124,14 @@ public:
CommandHelper helper = CommandHelper(),
CommandCompleter completer = CommandCompleter());
+ Completions complete_command_name(const Context& context, StringView query, bool with_aliases) const;
+
private:
void execute_single_command(CommandParameters params,
Context& context,
const ShellContext& shell_context,
CharCoord pos) const;
- Completions complete_command_name(const Context& context, StringView query) const;
-
struct CommandDescriptor
{
Command command;