fd
fd copied to clipboard
[BUG] --strip-cwd-prefix docs out of date
Checks
- [X] I have read the troubleshooting section and still think this is a bug.
Describe the bug you encountered:
man fd's docs for --strip-cwd-prefix says
By default, relative paths are prefixed with './' when the output goes to a non interactive terminal (TTY). Use this flag to disable this behaviour.
Actually, 8.5.0 removed that behavior: No leading ./ prefix for non-interactive results
.
Describe what you expected to happen:
The docs for that option should say
Relative paths are prefixed with './' when --exec/-x, --exec-batch/-X, or --print0/-0 are used. Use this flag to disable this behaviour.
What version of fd
are you using?
8.6.0
Which operating system / distribution are you on?
Darwin 22.2.0 arm64
Thank you. This should be fixed.