aboutsummaryrefslogtreecommitdiff
path: root/bp.1
diff options
context:
space:
mode:
Diffstat (limited to 'bp.1')
-rw-r--r--bp.111
1 files changed, 7 insertions, 4 deletions
diff --git a/bp.1 b/bp.1
index 4528dbf..1ccca39 100644
--- a/bp.1
+++ b/bp.1
@@ -75,11 +75,14 @@ matches.
If \f[I]N\f[R] is \f[B]\[lq]all\[rq]\f[R], print all text before and
after each match.
.TP
-\f[B]-f\f[R], \f[B]--format\f[R] \f[I]auto\f[R]|\f[I]fancy\f[R]|\f[I]plain\f[R]
+\f[B]-f\f[R], \f[B]--format\f[R] \f[I]fancy\f[R]|\f[I]plain\f[R]|\f[I]bare\f[R]|\f[I]file:line\f[R]|\f[I]auto\f[R]
Set the output format.
-\f[I]fancy\f[R] includes colors and line numbers, \f[I]plain\f[R]
-includes neither, and \f[I]auto\f[R] (the default) uses \f[I]fancy\f[R]
-formatting only when the output is a TTY.
+\f[I]fancy\f[R] includes colors and line numbers, \f[I]plain\f[R] prints
+line numbers with no coloring, \f[I]bare\f[R] prints only the match
+text, \f[I]file:line\f[R] prints the filename and line number for each
+match (grep-style), and \f[I]auto\f[R] (the default) uses
+\f[I]fancy\f[R] formatting when the output is a TTY and \f[I]plain\f[R]
+formatting otherwise.
.TP
\f[B]-h\f[R], \f[B]--help\f[R]
Print the usage and exit.