find: fix help text about -prune: it also does assume -print
[platform/upstream/busybox.git] / findutils / find.c
index e8747f9..a3dd632 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"