BrianHicks/tree-grepper

Cannot run query on a single file

Opened this issue · 2 comments

meain commented

When trying to run a query tree-grepper -q go '...' main.go runs it on all files in the dir recursively instead of just main.go. --show-tree however works on a single file.

meain commented

Looks like it is because of num_args here. I guess I could just flip the args for now (ie: tree-grepper main.go -q go '...').