summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-19 22:46:26 +0100
committerhut <hut@lavabit.com>2012-03-19 22:46:26 +0100
commitcb02d817c810d32b25711a44cc66850da7bfd685 (patch)
tree1a148e38880ba168e1aa36a97a18eff486e1aa8c
parentea8c70ca98149a5d98043b84659d7bca77f984ca (diff)
downloadranger-cb02d817c810d32b25711a44cc66850da7bfd685.tar.gz
core.main: improved rifle compatibility
-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 bf6c7426..229146ab 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)
+			rifle.execute(targets, way=ranger.arg.mode, flags=ranger.arg.flags)
 			return 1 if arg.fail_unless_cd else 0
 
 	crash_traceback = None