diff --git a/README.md b/README.md index dc16cb6..9e71d63 100644 --- a/README.md +++ b/README.md @@ -313,7 +313,7 @@ Options: -p, --full-path Search full abs. path (default: filename only) -d, --max-depth Set maximum search depth (default: none) -E, --exclude Exclude entries that match the given glob pattern - -t, --type Filter by type: file (f), directory (d), symlink (l), + -t, --type Filter by type: file (f), directory (d/dir), symlink (l), executable (x), empty (e), socket (s), pipe (p), block-device (b), char-device (c) -e, --extension Filter by file extension diff --git a/src/cli.rs b/src/cli.rs index 926e6db..c17f0b8 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -314,7 +314,7 @@ pub struct Opts { /// Filter the search by type: /// {n} 'f' or 'file': regular files - /// {n} 'd' or 'directory': directories + /// {n} 'd' or 'dir' or 'directory': directories /// {n} 'l' or 'symlink': symbolic links /// {n} 's' or 'socket': socket /// {n} 'p' or 'pipe': named pipe (FIFO)