summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-09-14 14:03:52 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-09-14 14:03:52 -0400
commit4cfebe30000e7ce90c5763db6391137583e59700 (patch)
tree49e64b1155d162a3ee2a20e1310c0eef7916818c
parent423058a367043ca5ca59f6080dcf5ed4f7b3475b (diff)
downloadbfs-4cfebe30000e7ce90c5763db6391137583e59700.tar.xz
Update documentation for the -mount/-xdev revert
-rw-r--r--bfs.14
-rw-r--r--parse.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/bfs.1 b/bfs.1
index f2f7daa..7d58f13 100644
--- a/bfs.1
+++ b/bfs.1
@@ -246,7 +246,9 @@ Ignore files deeper/shallower than
.RE
.TP
.B \-mount
-Skip mount points entirely.
+Don't descend into other mount points (same as
+.B \-xdev
+for now, but will skip mount points entirely in the future).
.TP
.B \-noleaf
Ignored; for compatibility with GNU find.
diff --git a/parse.c b/parse.c
index 0ea40c5..38bf654 100644
--- a/parse.c
+++ b/parse.c
@@ -2605,7 +2605,8 @@ static struct expr *parse_help(struct parser_state *state, int arg1, int arg2) {
cfprintf(cout, " ${blu}-mindepth${rs} ${bld}N${rs}\n");
cfprintf(cout, " Ignore files deeper/shallower than ${bld}N${rs}\n");
cfprintf(cout, " ${blu}-mount${rs}\n");
- cfprintf(cout, " Skip mount points entirely\n");
+ cfprintf(cout, " Don't descend into other mount points (same as ${blu}-xdev${rs} for now, but will\n");
+ cfprintf(cout, " skip mount points entirely in the future)\n");
cfprintf(cout, " ${blu}-noleaf${rs}\n");
cfprintf(cout, " Ignored; for compatibility with GNU find\n");
cfprintf(cout, " ${blu}-regextype${rs} ${bld}TYPE${rs}\n");