From cb9b4c40d87480bc794b90c2a36ed0f4c3240d8a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 30 Jul 2021 20:46:50 -0700 Subject: Added -w/--word flag --- bp.1.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bp.1.md') diff --git a/bp.1.md b/bp.1.md index 8e9482d..13f98e7 100644 --- a/bp.1.md +++ b/bp.1.md @@ -17,8 +17,13 @@ syntax. # OPTIONS -`-v`, `--verbose` -: Print debugging information. +`-p`, `--pattern` *pat* +: Give a pattern in BP syntax instead of string syntax (equivalent to `bp +'\(pat)'` + +`-w`, `--word` *word* +: Surround a string pattern with word boundaries (equivalent to `bp +'\|word\|'`) `-e`, `--explain` : Print a visual explanation of the matches. @@ -69,7 +74,7 @@ occur). includes neither, and *auto* (the default) uses *fancy* formatting only when the output is a TTY. -`--help` +`-h`, `--help` : Print the usage and exit. *pattern* -- cgit v1.2.3