mirror of
https://github.com/lov3b/ecb-rates.git
synced 2025-02-22 09:50:10 +01:00
Disable the time header if no-time is set, in table-mode
This commit is contained in:
parent
f116b06c0c
commit
d5b8ce8116
@ -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()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user