mirror of
				https://github.com/lov3b/ecb-rates.git
				synced 2025-11-03 23:00:21 +01:00 
			
		
		
		
	Disable the time header if no-time is set, in table-mode
This commit is contained in:
		@@ -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()
 | 
			
		||||
            })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user