mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-23 21:52:31 +01:00
Make line limits cli configurable
This commit is contained in:
@@ -155,6 +155,17 @@ Options:
|
||||
escape sequences unless the syntax highlighting language is plain text. Possible values:
|
||||
auto, always, *never*.
|
||||
|
||||
--disable-line-limits
|
||||
Disables all line limits. Short for `--soft-line-limit 0 --hard-line-limit 0`.
|
||||
|
||||
--soft-line-limit <BYTES>
|
||||
Line length (in bytes) at which the line will be ignored. Zero disables this limit.
|
||||
Default: 64 kB
|
||||
|
||||
--hard-line-limit <BYTES>
|
||||
Line length (in bytes) at which bat will abort. Zero disables this limit.
|
||||
Default: 256 kB
|
||||
|
||||
--style <components>
|
||||
Configure which elements (line numbers, file headers, grid borders, Git modifications, ..)
|
||||
to display in addition to the file contents. The argument is a comma-separated list of
|
||||
|
@@ -51,6 +51,8 @@ Options:
|
||||
Display all supported highlighting themes.
|
||||
-s, --squeeze-blank
|
||||
Squeeze consecutive empty lines.
|
||||
--disable-line-limits
|
||||
Disables all line limits.
|
||||
--style <components>
|
||||
Comma-separated list of style elements to display (*default*, auto, full, plain, changes,
|
||||
header, header-filename, header-filesize, grid, rule, numbers, snip).
|
||||
|
Reference in New Issue
Block a user