Just reference --max-depth in --maxdepth help

This commit is contained in:
sharkdp 2018-09-13 20:17:06 +02:00 committed by David Peter
parent d375b5e1f5
commit 8fb25f15c9

View file

@ -204,9 +204,8 @@ fn usage() -> HashMap<&'static str, Help> {
, "Limit the directory traversal to a given depth. By default, there is no limit \ , "Limit the directory traversal to a given depth. By default, there is no limit \
on the search depth."); on the search depth.");
doc!(h, "rg-depth" doc!(h, "rg-depth"
, "Set maximum search depth (default: none)" , "See --max-depth"
, "Limit the directory traversal to a given depth. By default, there is no limit \ , "See --max-depth");
on the search depth.");
doc!(h, "file-type" doc!(h, "file-type"
, "Filter by type: file (f), directory (d), symlink (l),\nexecutable (x), empty (e)" , "Filter by type: file (f), directory (d), symlink (l),\nexecutable (x), empty (e)"
, "Filter the search by type (multiple allowable filetypes can be specified):\n \ , "Filter the search by type (multiple allowable filetypes can be specified):\n \