From db3c88d16b709a622fff390734f387693349341f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 2 Aug 2021 11:45:01 -0700 Subject: Context flag: -c -> -C (to match grep), and confirm flag: -C -> -c --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 266b63b..8b52deb 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,14 @@ It's written in pure C with no dependencies. * `-v` `--verbose` print verbose debugging info * `-i` `--ignore-case` perform a case-insensitive match * `-I` `--inplace` perform replacements or filtering in-place on files -* `-C` `--confirm` during replacement, confirm before each replacement +* `-c` `--confirm` during replacement, confirm before each replacement * `-e` `--explain` print an explanation of the matches * `-j` `--json` print matches as JSON objects * `-l` `--list-files` print only filenames containing matches * `-p` `--pattern ` provide a pattern (equivalent to `bp '\()'`) * `-r` `--replace ` replace the input pattern with the given replacement * `-s` `--skip ` skip over the given pattern when looking for matches -* `-c` `--context ` change how many lines of context are printed (`0`: no context, `all`: the whole file, `` matching lines and `` lines before/after) +* `-C` `--context ` change how many lines of context are printed (`0`: no context, `all`: the whole file, `` matching lines and `` lines before/after) * `-g` `--grammar ` use the specified file as a grammar * `-G` `--git` get filenames from git * `-f` `--format` `auto|plain|fancy` set the output format (`fancy` includes colors and line numbers) -- cgit v1.2.3