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:
parent
8b5a567b2e
commit
bc632982fc
6 changed files with 25 additions and 18 deletions
2
logs.py
2
logs.py
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue