Hide --one-file-system from the short help text

This commit is contained in:
sharkdp 2020-01-01 11:21:30 +01:00 committed by David Peter
parent a9c7696ecc
commit c001dd47a7
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,6 @@ FLAGS:
-F, --fixed-strings Treat the pattern as a literal string
-a, --absolute-path Show absolute instead of relative paths
-L, --follow Follow symbolic links
--one-file-system Don't cross file system boundaries (only Unix/Windows)
-p, --full-path Search full path (default: file-/dirname only)
-0, --print0 Separate results by the null character
-h, --help Prints help information

View File

@ -291,7 +291,8 @@ pub fn build_app() -> App<'static, 'static> {
app = app.arg(
arg("one-file-system")
.long("one-file-system")
.aliases(&["mount", "xdev"]),
.aliases(&["mount", "xdev"])
.hidden_short_help(true),
);
}