Skip to content

Commit 54e609d

Browse files
committed
doc: add another example for the config file
Closes BurntSushi#2453
1 parent 43bbcca commit 54e609d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/rg.1.txt.tpl

+10
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,16 @@ would behave identically to the following command
232232

233233
rg --glob '!.git' foo
234234

235+
The bottom line is that every shell argument needs to be on its own line. So
236+
for example, a config file containing
237+
238+
-j 4
239+
240+
is probably not doing what you intend. Instead, you want
241+
242+
-j
243+
4
244+
235245
ripgrep also provides a flag, *--no-config*, that when present will suppress
236246
any and all support for configuration. This includes any future support
237247
for auto-loading configuration files from pre-determined paths.

0 commit comments

Comments
 (0)