ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: pretty-print "debug template" output

Since a parsed tree is deeply nested, it's difficult to read as a one-line
string.
This commit is contained in:
Yuya Nishihara 2023-01-28 22:02:26 +09:00
parent aaf75b4793
commit a85488b11d

View file

@ -2918,7 +2918,7 @@ fn cmd_debug(
crate::template_parser::Rule::template,
&template_matches.template,
);
writeln!(ui, "{parse:?}")?;
writeln!(ui, "{parse:#?}")?;
}
DebugCommands::Index(_index_matches) => {
let workspace_command = command.workspace_helper(ui)?;