diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-02 18:07:18 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-02 18:07:18 -0700 |
| commit | 615d94ba68be75520fbe177b971c96c2e739436f (patch) | |
| tree | de0bfb5f33475f6f08b2765fd63d5a78d09ff80f /bp.1.md | |
| parent | 1cf17cf95c75f7d02a0b9da79d9a78811e1ee9d8 (diff) | |
Improved formatting options
Diffstat (limited to 'bp.1.md')
| -rw-r--r-- | bp.1.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -72,10 +72,12 @@ passed to `git --ls-files` instead of treated as literal files. is `none`, print only the exact text of the matches. If *N* is **"all"**, print all text before and after each match. -`-f`, `--format` *auto*\|*fancy*\|*plain* +`-f`, `--format` *fancy*\|*plain*\|*bare*\|*file:line*\|*auto* : Set the output format. *fancy* includes colors and line numbers, *plain* -includes neither, and *auto* (the default) uses *fancy* formatting only when -the output is a TTY. +prints line numbers with no coloring, *bare* prints only the match text, +*file:line* prints the filename and line number for each match (grep-style), +and *auto* (the default) uses *fancy* formatting when the output is a TTY and +*plain* formatting otherwise. `-h`, `--help` : Print the usage and exit. |
