From 615d94ba68be75520fbe177b971c96c2e739436f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 2 Sep 2021 18:07:18 -0700 Subject: Improved formatting options --- bp.1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bp.1') 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. -- cgit v1.2.3