From 87e6df0853c5d64933382b8c55b6c5f02fe11889 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 23 Mar 2012 22:07:13 +0100 Subject: core.main: fixed rifle interface thanks to taylorchu for reporting this --- ranger/core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0