find: fix help text about -prune: it also does assume -print
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Feb 2011 16:08:16 +0000 (17:08 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Feb 2011 16:08:16 +0000 (17:08 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c

index e8747f93b3fde6401b0846cb47c308e1dd4164e3..a3dd632a7e78fb7c0d2fad0509de8499a03823a9 100644 (file)
@@ -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"