mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Improve --map-syntax documentation, see #1386
This commit is contained in:
		@@ -328,7 +328,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
 | 
			
		||||
                    "Map a glob pattern to an existing syntax name. The glob pattern is matched \
 | 
			
		||||
                     on the full path and the filename. For example, to highlight *.build files \
 | 
			
		||||
                     with the Python syntax, use -m '*.build:Python'. To highlight files named \
 | 
			
		||||
                     '.myignore' with the Git Ignore syntax, use -m '.myignore:Git Ignore'.",
 | 
			
		||||
                     '.myignore' with the Git Ignore syntax, use -m '.myignore:Git Ignore'. Note \
 | 
			
		||||
                     that the right-hand side is the *name* of the syntax, not a file extension.",
 | 
			
		||||
                )
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user