summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 0626d666..341b48e6 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -197,6 +197,8 @@ def parse_arguments():
             help="activate debug mode")
     parser.add_option('-c', '--clean', action='store_true',
             help="don't touch/require any config files. ")
+    parser.add_option('--logfile', type='string', metavar='file',
+            help="log file to use, '-' for stderr")
     parser.add_option('-r', '--confdir', type='string',
             metavar='dir', default=default_confdir,
             help="change the configuration directory. (%default)")