[git commit master 1/1] find: fix help text about -prune: it also does assume -print

Denys Vlasenko vda.linux at googlemail.com
Sat Feb 12 16:08:16 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=4dea9eb07f27384bdbfa39d7fa58cff776b583fa
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 findutils/find.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/findutils/find.c b/findutils/find.c
index e8747f9..a3dd632 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -1116,14 +1116,14 @@ static action*** parse_params(char **argv)
 //usage:	IF_FEATURE_FIND_CONTEXT(
 //usage:     "\n	-context CTX	File has specified security context"
 //usage:	)
+//usage:	IF_FEATURE_FIND_PRUNE(
+//usage:     "\n	-prune		If current file is directory, don't descend into it"
+//usage:	)
 //usage:     "\n    If none of the following actions is specified, -print is assumed"
 //usage:     "\n	-print		Print file name"
 //usage:	IF_FEATURE_FIND_PRINT0(
 //usage:     "\n	-print0		Print file name, NUL terminated"
 //usage:	)
-//usage:	IF_FEATURE_FIND_PRUNE(
-//usage:     "\n	-prune		If current file is directory, don't descend into it"
-//usage:	)
 //usage:	IF_FEATURE_FIND_EXEC(
 //usage:     "\n	-exec CMD ARG ;	Run CMD with all instances of {} replaced by"
 //usage:     "\n			file name. Fails if CMD exits with nonzero"
-- 
1.7.3.4



More information about the busybox-cvs mailing list