summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/api/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py
index f034605d..759d4a37 100644
--- a/ranger/api/commands.py
+++ b/ranger/api/commands.py
@@ -265,7 +265,7 @@ class FunctionCommand(Command):
 		if not self._based_function:
 			return
 		if len(self.args) == 1:
-			return self._based_function()
+			return self._based_function(**{'narg':self.quantifier})
 
 		args, keywords = list(), dict()
 		for arg in self.args[1:]: