Repository: sharkdp/fd (language: rust)

Issue:
Add short option for --same-file-system
I commonly use `-xdev` in `find`.

`--same-file-system` is a bit of a mouthful.  Would you consider adding `-X` or some other short form for this (currently longest) long option?

Related: #507 #536 


Discussion / hints:
`-x` and `-X` are already taken. However, we have `--xdev` and `--mount` as hidden aliases for `--same-file-system`. 
Oooh, sweet!  

I couldn't see these in https://github.com/FallenWarrior2k/fd/commit/825c0b377ddd9529c7c2fb1344a531ac96b4c22d.

Hidden as in not documented in the man-page?
> Hidden as in not documented in the man-page?

Well, not shown in the `--help` text. But we should add them to the man page.

Fix patch:
diff --git a/doc/fd.1 b/doc/fd.1
index 7ab896965..90614c696 100644
--- a/doc/fd.1
+++ b/doc/fd.1
@@ -84,6 +84,9 @@ Separate search results by the null character (instead of newlines). Useful for
 Enable the display of filesystem errors for situations such as insufficient
 permissions or dead symlinks.
 .TP
+.B \-\-one\-file\-system, \-\-mount, \-\-xdev
+By 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).
+.TP
 .B \-h, \-\-help
 Print help information.
 .TP


Test patch: