Disable the time header if no-time is set, in table-mode

This commit is contained in:
Love 2025-01-08 16:35:39 +01:00
parent f116b06c0c
commit d5b8ce8116

View File

@ -114,6 +114,9 @@ async fn main() -> ExitCode {
.iter()
.map(|x| {
let mut t: TableRef = x.into();
if cli.no_time {
t.disable_header();
}
t.sort(&cli.sort_by);
t.to_string()
})