Skip to content
Myr

docs: Make auto option for --strip-cwd-prefix more clear

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Thayne McCombs · committed by Thayne McCombs · parent b1f83a0 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:doc/fd.1+2 added-2 removed
161 unmodified lines
162path starting with '-' being treated as a command line option. Use163this flag to change this behavior. If this flag is used without a value,164it is equivalent to passing "always". Possible values are:165.RS166.IP auto167Use the default behavior.166.IP never167Never strip the ./ at the beginning of paths168.IP always169Always strip the ./ at the beginning of paths170.IP auto171Only strip if used with --exec, --exec-batch, or --print0. That is, it resets to the default behavior.172.RE173.TP174.B \-\-one\-file\-system, \-\-mount, \-\-xdev175By default, fd will traverse the file system tree as far as other options dictate. With this flag, fd ensures that it does not descend into a different file system than the one it started in. Comparable to the -mount or -xdev filters of find(1).
367 unmodified lines