about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 229146ab..8e6b9da5 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -81,7 +81,7 @@ def main():
 				rifleconf = fm.relpath('defaults/rifle.conf')
 			rifle = Rifle(rifleconf)
 			rifle.reload_config()
-			rifle.execute(targets, way=ranger.arg.mode, flags=ranger.arg.flags)
+			rifle.execute(targets, number=ranger.arg.mode, flags=ranger.arg.flags)
 			return 1 if arg.fail_unless_cd else 0
 
 	crash_traceback = None