Update docs for -X flag.

-X flag changed subtly with previous pull request. It now requires a
directory name and doesn't work on substrings.
This commit is contained in:
andy.boot
2020-02-09 13:58:33 +00:00
parent be2250d241
commit c408d8887d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ Usage: dust -n 30 <dir> (Shows 30 directories not 20)
Usage: dust -d 3 <dir> (Shows 3 levels of subdirectories) Usage: dust -d 3 <dir> (Shows 3 levels of subdirectories)
Usage: dust -r <dir> (Reverse order of output, with root at the lowest) Usage: dust -r <dir> (Reverse order of output, with root at the lowest)
Usage: dust -x <dir> (Only show directories on same filesystem) Usage: dust -x <dir> (Only show directories on same filesystem)
Usage: dust -X ignore <dir> (Ignore all files and directories containing the string 'ignore') Usage: dust -X ignore <dir> (Ignore all files and directories with the name 'ignore')
``` ```
``` ```
+1 -1
View File
@@ -62,7 +62,7 @@ fn main() {
.takes_value(true) .takes_value(true)
.number_of_values(1) .number_of_values(1)
.multiple(true) .multiple(true)
.help("Exclude any file or directory with contains this substring."), .help("Exclude any file or directory with this name."),
) )
.arg( .arg(
Arg::with_name("limit_filesystem") Arg::with_name("limit_filesystem")