emacsorphanage / helm-ag

The silver searcher with helm interface
492 stars 76 forks source link

support for multiple grep options #378

Open stevium opened 3 years ago

stevium commented 3 years ago

Actual behavior

It looks like helm-do-grep-ag does not support multiple command line options.

Expected behavior

I would expect that I can pass as many options as ag supports, as long as I follow the rules from docs, that search command is in following format:

-<short_option_letter><option_value> --<long_option_name>=<option_value> <search_pattern>

Steps to reproduce

Run helm-do-grep-ag, try to pass more than one ag option, observe empty results.

For example, when I type -Gp$ --ignore=*cbp some_pattern I would expect it includes *cpp files. It looks like it's the same with any other combination of options. For example -i in combination with --ignore returns empty results...

AtomicNess123 commented 2 years ago

Hi, I'm having the same problem, I would like to pass more than one option. Have you find a solution?