quasilyte / phpgrep

Syntax-aware grep for PHP code.
MIT License
236 stars 10 forks source link

Add a -limit option #44

Closed quasilyte closed 4 years ago

quasilyte commented 4 years ago

Sometimes the pattern is too generic and the number of results can be overwhelming.

We need a default -limit set to somewhere around 100. A negative or 0 value would make phpgrep give all results. Positive value would custumize the number of results we want to get.