Improve help text

This commit is contained in:
andy.boot
2022-02-26 11:06:35 +00:00
parent 1e27288ec2
commit 52aeeebe1f
+2 -2
View File
@@ -189,7 +189,7 @@ fn main() {
.conflicts_with("filter") .conflicts_with("filter")
.conflicts_with("types") .conflicts_with("types")
.conflicts_with("depth") .conflicts_with("depth")
.help("Exclude files matching this regex. To ignore png files type: -v \"\\.png$\" "), .help("Exclude filepaths matching this regex. To ignore png files type: -v \"\\.png$\" "),
) )
.arg( .arg(
Arg::new("filter") Arg::new("filter")
@@ -200,7 +200,7 @@ fn main() {
.multiple_occurrences(true) .multiple_occurrences(true)
.conflicts_with("types") .conflicts_with("types")
.conflicts_with("depth") .conflicts_with("depth")
.help("Only include files matching this regex. For png files type: -e \"\\.png$\" "), .help("Only include filepaths matching this regex. For png files type: -e \"\\.png$\" "),
) )
.arg( .arg(
Arg::new("types") Arg::new("types")