fd icon indicating copy to clipboard operation
fd copied to clipboard

[BUG] --strip-cwd-prefix docs out of date

Open PatrickF1 opened this issue 1 year ago • 1 comments

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

PatrickF1 avatar Jan 15 '23 01:01 PatrickF1

Thank you. This should be fixed.

sharkdp avatar Jan 15 '23 06:01 sharkdp