mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Changed flag name
This commit is contained in:
		
				
					committed by
					
						
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							e90308e1f8
						
					
				
				
					commit
					1ece38a4c4
				
			@@ -260,7 +260,7 @@ impl App {
 | 
			
		||||
            output_components,
 | 
			
		||||
            syntax_mapping,
 | 
			
		||||
            pager: self.matches.value_of("pager"),
 | 
			
		||||
            italics: match self.matches.value_of("enable-italics") {
 | 
			
		||||
            italics: match self.matches.value_of("italic-text") {
 | 
			
		||||
                Some("always") => true,
 | 
			
		||||
                _ => false
 | 
			
		||||
            },
 | 
			
		||||
 
 | 
			
		||||
@@ -321,8 +321,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
 | 
			
		||||
                .help("Show path to the configuration file."),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("enable-italics")
 | 
			
		||||
                .long("enable-italics")
 | 
			
		||||
            Arg::with_name("italic-text")
 | 
			
		||||
                .long("italic-text")
 | 
			
		||||
                .takes_value(true)
 | 
			
		||||
                .multiple(false)
 | 
			
		||||
                .value_name("always|*never*")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user