fail "nicely" if the provided query contains no captures
Closes #44
To test:
If you try passing a query with no captures in it eg -q (function_item) then it should print an error message (only once) that there must be at least one capture in the query and then exit with an error status code
In this PR:
Closes #44
To test: If you try passing a query with no captures in it eg
-q (function_item)
then it should print an error message (only once) that there must be at least one capture in the query and then exit with an error status codeBased on
byte-offset