summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorael-code <tommy.ael@gmail.com>2016-11-24 15:32:13 +0100
committerael-code <tommy.ael@gmail.com>2016-11-25 15:16:26 +0100
commit601b6f8ff008c1d94351a6300816d898f08531f3 (patch)
treec720965567f2edc8968ec60ece0a654a41ce8ecd /ranger
parentfc20b110257edda823a387ed24ee9d702d06392c (diff)
downloadranger-601b6f8ff008c1d94351a6300816d898f08531f3.tar.gz
cli: added logfile option
Diffstat (limited to 'ranger')
-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)")
0 committer Drew DeVault <sir@cmpwn.com> 2019-03-29 22:36:15 -0400 Add body fetching support code' href='/akspecs/aerc/commit/go.mod?h=0.2.1&id=77ede6eb5a22a5407541ac587736189fcca0037f'>77ede6e ^
28021ed ^
16c3f0a ^
8d20e92 ^
28021ed ^
77ede6e ^
3836d24 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24