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

No markup rendering in --help #1581

Closed
knutwannheden opened this issue May 13, 2020 · 0 comments
Closed

No markup rendering in --help #1581

knutwannheden opened this issue May 13, 2020 · 0 comments
Labels
bug A bug.

Comments

@knutwannheden
Copy link

The usage rendered by rg --help appears to contain some markup as rendered by the source code:

ripgrep/crates/core/app.rs

Lines 1354 to 1357 in fac4790

When this flag is set, every file and directory is applied to it to test for
a match. So for example, if you only want to search in a particular directory
'foo', then *-g foo* is incorrect because 'foo/bar' does not match the glob
'foo'. Instead, you should use *-g +++'foo/**'+++*.

In the rg --help output this looks the same:

            When this flag is set, every file and directory is applied to it to test for
            a match. So for example, if you only want to search in a particular directory
            'foo', then *-g foo* is incorrect because 'foo/bar' does not match the glob
            'foo'. Instead, you should use *-g +++'foo/**'+++*.

I suspect this is not as intended.

@BurntSushi BurntSushi added the bug A bug. label May 13, 2020
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