From 4dea9eb07f27384bdbfa39d7fa58cff776b583fa Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 12 Feb 2011 17:08:16 +0100 Subject: [PATCH] find: fix help text about -prune: it also does assume -print Signed-off-by: Denys Vlasenko --- findutils/find.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/findutils/find.c b/findutils/find.c index e8747f93b..a3dd632a7 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"