Commit 6c1e1da3 authored by Benito van der Zander's avatar Benito van der Zander

fix coloring not being auto enabled for xml/html output

parent f9cae728
......@@ -3846,9 +3846,6 @@ begin
cmdlineWrapper.Free;
initTerminalAndColoring;
outputHeader := mycmdline.readString('output-declaration') + mycmdline.readString('output-header');
if (outputHeader <> '') and not mycmdline.existsProperty('output-header') then outputHeader += LineEnding;
......@@ -3890,6 +3887,8 @@ begin
else raise EInvalidArgument.Create('Unknown output format: ' + mycmdLine.readString('output-format'));
end;
initTerminalAndColoring;
if mycmdline.readFlag('trace') or mycmdline.readFlag('trace-stack') or mycmdline.readFlag('trace-context') {or mycmdline.readFlag('trace-context-variables') }then begin
tracer := TXQTracer.Create;
tracer.all := mycmdline.readFlag('trace');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment