mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 07:04:04 +00:00 
			
		
		
		
	docs(man): update --style documentation with priority rules
This commit is contained in:
		
							
								
								
									
										14
									
								
								assets/manual/bat.1.in
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								assets/manual/bat.1.in
									
									
									
									
										vendored
									
									
								
							| @@ -203,8 +203,18 @@ Configure which elements (line numbers, file headers, grid borders, Git modifica | |||||||
| \&..) to display in addition to the file contents. The argument is a comma\-separated list | \&..) to display in addition to the file contents. The argument is a comma\-separated list | ||||||
| of components to display (e.g. 'numbers,changes,grid') or a pre\-defined style ('full'). | of components to display (e.g. 'numbers,changes,grid') or a pre\-defined style ('full'). | ||||||
| To set a default style, add the '\-\-style=".."' option to the configuration file or | To set a default style, add the '\-\-style=".."' option to the configuration file or | ||||||
| export the BAT_STYLE environment variable (e.g.: export BAT_STYLE=".."). Possible | export the BAT_STYLE environment variable (e.g.: export BAT_STYLE=".."). | ||||||
| values: *default*, full, auto, plain, changes, header, header-filename, header-filesize, grid, | .IP | ||||||
|  | When styles are specified in multiple places, the "nearest" set of styles take precedence. | ||||||
|  | The command\-line arguments are the highest priority, followed by the BAT_STYLE environment | ||||||
|  | variable, and then the configuration file. If any set of styles consists entirely of | ||||||
|  | components prefixed with "+" or "\-", it will modify the previous set of styles instead of | ||||||
|  | replacing them. | ||||||
|  | .IP | ||||||
|  | By default, the following components are enabled: | ||||||
|  | changes, grid, header\-filename, numbers, snip | ||||||
|  | .IP | ||||||
|  | Possible values: *default*, full, auto, plain, changes, header, header-filename, header-filesize, grid, | ||||||
| rule, numbers, snip. | rule, numbers, snip. | ||||||
| .HP | .HP | ||||||
| \fB\-r\fR, \fB\-\-line\-range\fR <N:M>... | \fB\-r\fR, \fB\-\-line\-range\fR <N:M>... | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user