diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-06-03 03:25:57 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-06-03 03:25:57 +0000 |
commit | 680e2ddc6abcebb3f7d39581d616950b85b33bca (patch) | |
tree | 5f4fcc9a9d04da83a693d361d3772c814cc526f2 /rts | |
parent | b5929f6f89da35604af83fb6e823f854c3345080 (diff) | |
download | haskell-680e2ddc6abcebb3f7d39581d616950b85b33bca.tar.gz |
+RTS -S- is the same as +RTS -Sstderr
Diffstat (limited to 'rts')
-rw-r--r-- | rts/RtsFlags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 4f69f49fec..186ded3357 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -2335,7 +2335,7 @@ open_stats_file ( { FILE *f = NULL; - if (strequal(rts_argv[arg]+2, "stderr")) { /* use debugBelch */ + if (strequal(rts_argv[arg]+2, "stderr") || strequal(rts_argv[arg]+2, "-")) { f = NULL; /* NULL means use debugBelch */ } else { if (rts_argv[arg][2] != '\0') { /* stats file specified */ |