Updated CHANGELOG.md, man page and made alias visible in fd -h too

This commit is contained in:
Alexandru-Constantin Atomei 2024-01-01 17:14:32 +02:00
parent c591106b86
commit 3cb6b9d93a
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
## Features ## Features
- Add `dir` as an alias to `directory` when using `-t` \ `--type`, see #1460 and #1464 (@Ato2207).
## Bugfixes ## Bugfixes

2
doc/fd.1 vendored
View File

@ -191,7 +191,7 @@ Filter search by type:
.RS .RS
.IP "f, file" .IP "f, file"
regular files regular files
.IP "d, directory" .IP "d, dir, directory"
directories directories
.IP "l, symlink" .IP "l, symlink"
symbolic links symbolic links

View File

@ -352,7 +352,7 @@ pub struct Opts {
value_name = "filetype", value_name = "filetype",
hide_possible_values = true, hide_possible_values = true,
value_enum, value_enum,
help = "Filter by type: file (f), directory (d), symlink (l), \ help = "Filter by type: file (f), directory (d/dir), symlink (l), \
executable (x), empty (e), socket (s), pipe (p), \ executable (x), empty (e), socket (s), pipe (p), \
char-device (c), block-device (b)", char-device (c), block-device (b)",
long_help long_help