Mercurial > hg
comparison doc/hg.1.txt @ 1212:ccb6201e3f28
Change grep -e to grep --all
We want to reserve -e for future use and grep compatibility.
I've changed every-match to all out of a general preference for
shorter long option names where short options don't exist.
author | mpm@selenic.com |
---|---|
date | Wed, 07 Sep 2005 20:50:23 -0700 |
parents | 1c455338ad95 |
children | 1639fc7c2ccf |
comparison
equal
deleted
inserted
replaced
1211:1c455338ad95 | 1212:ccb6201e3f28 |
---|---|
217 | 217 |
218 By default, grep only prints output for the first revision of a | 218 By default, grep only prints output for the first revision of a |
219 file in which it finds a match. To get it to print every revision | 219 file in which it finds a match. To get it to print every revision |
220 that contains a change in match status ("-" for a match that | 220 that contains a change in match status ("-" for a match that |
221 becomes a non-match, or "+" for a non-match that becomes a match), | 221 becomes a non-match, or "+" for a non-match that becomes a match), |
222 use the --every-match flag. | 222 use the --all flag. |
223 | 223 |
224 options: | 224 options: |
225 -0, --print0 end fields with NUL | 225 -0, --print0 end fields with NUL |
226 -I, --include <pat> include names matching the given patterns | 226 -I, --include <pat> include names matching the given patterns |
227 -X, --exclude <pat> exclude names matching the given patterns | 227 -X, --exclude <pat> exclude names matching the given patterns |
228 -e, --every-match print every revision that matches | 228 --all print all revisions that match |
229 -i, --ignore-case ignore case when matching | 229 -i, --ignore-case ignore case when matching |
230 -l, --files-with-matches print only file names and revs that match | 230 -l, --files-with-matches print only file names and revs that match |
231 -n, --line-number print matching line numbers | 231 -n, --line-number print matching line numbers |
232 -r <rev>, --rev <rev> search in given revision range | 232 -r <rev>, --rev <rev> search in given revision range |
233 -u, --user print user who committed change | 233 -u, --user print user who committed change |