aboutsummaryrefslogtreecommitdiff
path: root/bp.1
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-12 20:33:27 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-12 20:33:27 -0700
commit6eab931c2799090abbcac4c5d3a15e0d2594d992 (patch)
tree3a0b896b9fdc3054528d2ff2a7083c15518b9e1f /bp.1
parentf6bb376d1ba7984a35ff06e90a772cb5ba224d0c (diff)
Moved settings into a struct
Diffstat (limited to 'bp.1')
-rw-r--r--bp.17
1 files changed, 4 insertions, 3 deletions
diff --git a/bp.1 b/bp.1
index a403928..99c6afa 100644
--- a/bp.1
+++ b/bp.1
@@ -67,9 +67,10 @@ Otherwise, if \fI<N>\fR is a positive integer, print the whole line on which
matches occur, as well as the \fI<N-1>\fR lines before and after the match. The
default value for this argument is 1 (print whole lines where matches occur).
-.B \--color \fIyes|no|auto\fR
-Whether or not to use color output. Default is \fIauto\fR, which means that
-output will be colored only when printing to a TTY output.
+.B \-f\fR, \fB\--format \fIauto|fancy|plain\fR
+Set the output format. \fIfancy\fR includes colors and line numbers,
+\fIplain\fR includes neither, and \fIauto\fR (the default) uses \fIfancy\fR
+formatting only when the output is a TTY.
.B \--help
Print the usage and exit.