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

--vimgrep is not an option #13

Closed
davidosomething opened this issue Sep 23, 2016 · 5 comments
Closed

--vimgrep is not an option #13

davidosomething opened this issue Sep 23, 2016 · 5 comments
Labels
bug A bug.

Comments

@davidosomething
Copy link

No description provided.

@BurntSushi
Copy link
Owner

Could you please show the exact command you're running? And also, the output of rg --version?

@davidosomething
Copy link
Author

davidosomething commented Sep 23, 2016

Installed via homebrew formula

david@elitedavid:~projects/elitedaily/ed-videoplayer                                                                                                                                                                                                [node:v6.6.0][py:3.5.2][rb:2.3.1]
11:31:57I(vast*)% rg --version
0.1.15

Just for testing:

11:32:09I(vast*)% rg --vimgrep video
Unknown flag: '--vimgrep'

Usage: rg [options] -e PATTERN ... [<path> ...]
       rg [options] <pattern> [<path> ...]
       rg [options] --files [<path> ...]
       rg [options] --type-list
       rg --help
       rg --version

expected output in format filename:LINENUMBER:grep-result

@BurntSushi
Copy link
Owner

Oh, the --vimgrep option was added in 0.1.16. How did you install rg? (It looks like something is out of date.)

@davidosomething
Copy link
Author

oh the brew package is referencing 0.1.15 still
https://github.com/BurntSushi/ripgrep/blob/master/pkg/brew/ripgrep.rb

@BurntSushi BurntSushi added the bug A bug. label Sep 24, 2016
@BurntSushi
Copy link
Owner

I've updated the brew package to 0.1.17, so you should get the --vimgrep option now.

amsharma91 added a commit to amsharma91/ripgrep that referenced this issue Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants