Add spans to all commands

This commit is contained in:
Joscha 2022-01-09 15:05:50 +01:00
parent e0b6c839e2
commit b430f1594f
6 changed files with 23 additions and 21 deletions

View file

@ -37,7 +37,7 @@ fn show_entry(files: &Files, entry: &Entry) {
}
println!("FROM COMMAND");
show_command(command.value);
show_command(&command.value.value);
}
fn show_log(files: &Files, log: Sourced<'_, Log>) {
@ -46,7 +46,7 @@ fn show_log(files: &Files, log: Sourced<'_, Log>) {
println!("LOG {}", log.value.date);
println!("FROM COMMAND");
show_command(command.value);
show_command(&command.value.value);
}
fn show_ident(files: &Files, entries: &[Entry], layout: &LineLayout, ident: Ident) {