summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-23 22:07:13 +0100
committerhut <hut@lavabit.com>2012-03-23 22:07:13 +0100
commit87e6df0853c5d64933382b8c55b6c5f02fe11889 (patch)
tree595c9213fcf31517a55209f1e7d70ae20899a04d /ranger
parentddefc64231f80c4f441bbdb593936c22270aa5e1 (diff)
downloadranger-87e6df0853c5d64933382b8c55b6c5f02fe11889.tar.gz
core.main: fixed rifle interface
thanks to taylorchu for reporting this
Diffstat (limited to 'ranger')
-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