From 9f096737dbb56fb00ff962a3f8ab793f404211d6 Mon Sep 17 00:00:00 2001 From: Alexandru-Constantin Atomei Date: Sat, 30 Dec 2023 22:54:57 +0200 Subject: [PATCH] Added explicit documentation about the possibility of using dir --- README.md | 2 +- src/cli.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)