mirror of
				https://github.com/lov3b/ecb-rates.git
				synced 2025-11-04 07:10:18 +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()
 | 
					            .iter()
 | 
				
			||||||
            .map(|x| {
 | 
					            .map(|x| {
 | 
				
			||||||
                let mut t: TableRef = x.into();
 | 
					                let mut t: TableRef = x.into();
 | 
				
			||||||
 | 
					                if cli.no_time {
 | 
				
			||||||
 | 
					                    t.disable_header();
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
                t.sort(&cli.sort_by);
 | 
					                t.sort(&cli.sort_by);
 | 
				
			||||||
                t.to_string()
 | 
					                t.to_string()
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user