Split --raw-logs into --no-pretty and --no-log options.

--no-log: don't capture logs or run redo-log (same as pre-redo-log redo)
  --no-pretty: don't pretty-print logs, print @@REDO lines.

The latter is an option to both redo and redo-log.
This commit is contained in:
Avery Pennarun 2018-11-19 10:55:56 -05:00
commit bc632982fc
6 changed files with 25 additions and 18 deletions

View file

@ -100,7 +100,7 @@ _log = None
def setup(file, pretty):
global _log
if pretty:
if pretty or vars.PRETTY:
check_tty(file)
_log = PrettyLog(file=file)
else: