summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2023-06-02 18:38:23 -0400
committerDan Davison <dandavison7@gmail.com>2023-06-02 18:43:38 -0400
commit22f40da244f9915cfff5dc0bb58f8c92a23c397e (patch)
tree2b2ae9d70dfd8d179fd287f2acb736cc9a50bb6b
parent9072d86111024152d9429949ec39afe928040494 (diff)
Update --help output
-rw-r--r--manual/src/full---help-output.md26
1 files changed, 24 insertions, 2 deletions
diff --git a/manual/src/full---help-output.md b/manual/src/full---help-output.md
index 29385e8c..6145e0bb 100644
--- a/manual/src/full---help-output.md
+++ b/manual/src/full---help-output.md
@@ -173,12 +173,34 @@ Options:
--grep-file-style <STYLE>
Style string for file paths in grep output.
- See STYLES section. Defaults to hunk-header-file-path-style.
+ See STYLES section.
+
+ [default: magenta]
+
+ --grep-header-decoration-style <STYLE>
+ Style string for the header decoration in grep output.
+
+ Default is "none" when grep-ouput-type-is "ripgrep", otherwise defaults to value of header-decoration-style. See hunk-header-decoration-style.
+
+ --grep-header-file-style <STYLE>
+ Style string for the file path part of the header in grep output.
+
+ See hunk_header_file_style.
+
+ --grep-header-style <STYLE>
+ Style string for the header in grep output.
+
+ See hunk-header-style.
--grep-line-number-style <STYLE>
Style string for line numbers in grep output.
- See STYLES section. Defaults to hunk-header-line-number-style.
+ See STYLES section.
+
+ [default: green]
+
+ --grep-output-type <OUTPUT_TYPE>
+ Grep output format. Possible values: "ripgrep" - file name printed once, followed by matching lines within that file, each preceded by a line number. "classic" - file name:line number, followed by matching line. Default is "ripgrep" if `rg --json` format is detected, otherwise "classic"
--grep-match-line-style <STYLE>
Style string for matching lines of grep output.