-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
bugA bug.A bug.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.
Description
Please tick this box to confirm you have reviewed the above.
- I have a different issue.
What version of ripgrep are you using?
ripgrep 14.1.1
How did you install ripgrep?
homebrew
What operating system are you using ripgrep on?
macOS 15.6.1
Describe your bug.
I believe rg's man page miscodes hyphens within option names. Using Gnu man on mac the rg.1 man page shows switches as --case‐sensitive and --files‐without‐match where the leading hyphens are properly Ascii HYPHEN-MINUS #x2d but the interior ones are Unicode HYPHEN #x2010 which makes it difficult to search for the option name. (I think/hope this came through properly on GitHub).
What are the steps to reproduce the behavior?
$ gman rg
What is the actual behavior?
--pre‐glob=GLOB
This flag works in conjunction with the --pre flag. Namely, when one or more --pre‐glob flags are given, then only files that match the given set of globs will be handed to the command specified
by the --pre flag. Any non‐matching files will be searched without using the preprocessor command.
What is the expected behavior?
hyphen in switch names should be ascii hyphen-minus as you would type them so they can be cut and pasted to a command line.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugA bug.A bug.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.