mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-29 07:59:00 +00:00
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:
parent
aaf75b4793
commit
a85488b11d
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue