summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-01-07 04:58:53 -0500
committerDan Davison <dandavison7@gmail.com>2021-01-07 05:01:15 -0500
commit0cffeae15bc31f9af13bd447a6230b80b81de264 (patch)
treeef2940c27bf87946f8ff18b215f5636c92158885 /README.md
parent346edb8cca119e18947bc4ff012e25fff037741f (diff)
Fix --help output for hunk-header-style
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3873659d..dfd1191f 100644
--- a/README.md
+++ b/README.md
@@ -700,9 +700,16 @@ OPTIONS:
--hunk-header-style <hunk-header-style>
Style (foreground, background, attributes) for the hunk-header. See STYLES section. Special attributes
'file' and 'line-number' can be used to include the file path, and number of first hunk line, in the hunk
- header. If included in the hunk header, 'file' and 'line-number' are styled according to 'file-style' and
- 'hunk-header-decoration-style' respectively. The style 'omit' can be used to remove the hunk header section
- from the output [default: line-number syntax]
+ header. The style 'omit' can be used to remove the hunk header section from the output [default: line-
+ number syntax]
+ --hunk-header-file-style <hunk-header-file-style>
+ Style (foreground, background, attributes) for the file path part of the hunk-header. See STYLES section.
+ The file path will only be displayed if hunk-header-style contains the 'file' special attribute [default:
+ blue]
+ --hunk-header-line-number-style <hunk-header-line-number-style>
+ Style (foreground, background, attributes) for the line number part of the hunk-header. See STYLES section.
+ The line number will only be displayed if hunk-header-style contains the 'line-number' special attribute
+ [default: blue]
--hunk-header-decoration-style <hunk-header-decoration-style>
Style (foreground, background, attributes) for the hunk-header decoration. See STYLES section. The style
string should contain one of the special attributes 'box', 'ul' (underline), 'ol' (overline), or the