I can reproduce. Grep 2.4.2 that shipped with Geany 1.26 doesn't have the `--include` option, must've been added in a later version. I built Grep 2.22 from source and copied it (and dependent libraries) into Geany's `bin` dir and it works, since that version has this option.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/789#issuecomment-162842554