Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batgrep doesn't work with ripgrep < 12.0.0 #53

Closed
eth-p opened this issue Apr 8, 2021 · 0 comments
Closed

Batgrep doesn't work with ripgrep < 12.0.0 #53

eth-p opened this issue Apr 8, 2021 · 0 comments
Assignees
Labels
batgrep Related to the batgrep script. bug Something isn't working

Comments

@eth-p
Copy link
Owner

eth-p commented Apr 8, 2021

With rg 11.x.x, running batgrep causes the following error:

   1 │ error: Found argument '--no-context-separator' which wasn't expected, or isn't valid in this context
   2 │     Did you mean --context-separator?
   3 │ 
   4 │ USAGE:
   5 │     
   6 │     rg [OPTIONS] PATTERN [PATH ...]
   7 │     rg [OPTIONS] [-e PATTERN ...] [-f PATTERNFILE ...] [PATH ...]
   8 │     rg [OPTIONS] --files [PATH ...]
   9 │     rg [OPTIONS] --type-list
  10 │     command | rg [OPTIONS] PATTERN
  11 │ 
  12 │ For more information try --help
  13 │ 

Originally posted by @faisal-shah in #43 (comment)

@eth-p eth-p self-assigned this Apr 8, 2021
@eth-p eth-p added batgrep Related to the batgrep script. bug Something isn't working labels Apr 8, 2021
eth-p added a commit that referenced this issue Apr 8, 2021
@eth-p eth-p closed this as completed Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batgrep Related to the batgrep script. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant