svent / sift

A fast and powerful alternative to grep
https://sift-tool.org
GNU General Public License v3.0
1.6k stars 108 forks source link

Command line option to NOT follow symlinks #113

Open yermulnik opened 4 years ago

yermulnik commented 4 years ago

There's a configuration knob to switch this behavior, but on command line one can only enable sift to follow symlinks (--follow). Would it be feasible to add a counter-part command line option to disable this behavior?

Use case: most of the time I'd prefer to follow symlinks but there are some quite rare cases when I do not want this behavior. Editing ~/.sift.conf to achieve this is much more toil rather than putting e.g. --no-follow on command line.

Thanks in advance.