Open osheroff opened 11 years ago
This would change ultragrep usage I think. -v is currently verbose.
How about ultragrep -f /abc/, /xyz -a /pqr/ ?
-f --filter, -a --allow
Or, alternatively,
ultragrep -f /abc/ -f /xyz/ /pqr/ /mno/ (-f has only one argument)
true; or we could just break backwards compatibility. Although I think people use the -v flag quite a bit.
prefer -f 'regexp' 'regexp' 'regexp' to retraining people to always type -a.
I've deprecated -v in the to-be-released gemified ultragrep so that we can get it back for inverse matching.
-v (and multiple -v params) can occasionally come in handy to filter requests.