From 6beb9b6f02b41e432aea9c8c6ac9e9f0cf2f4abb Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 27 Dec 2016 06:49:35 +0000 Subject: [PATCH] Fix unmap 4th argument not being optional Fixes #1078 --- src/commands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cc b/src/commands.cc index 63700b12..5b5eefcd 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -1427,7 +1427,7 @@ const CommandDesc unmap_key_cmd = { " view\n" " user\n" " object\n", - ParameterDesc{{}, ParameterDesc::Flags::None, 4, 4}, + ParameterDesc{{}, ParameterDesc::Flags::None, 3, 4}, CommandFlags::None, CommandHelper{}, map_key_completer,