diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /findutils/find.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2 busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip |
Extract usage information into a separate file.
Diffstat (limited to 'findutils/find.c')
-rw-r--r-- | findutils/find.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/findutils/find.c b/findutils/find.c index e18f3c569..1c209aea1 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -32,18 +32,6 @@ static char *pattern = NULL; | |||
32 | static char *directory = "."; | 32 | static char *directory = "."; |
33 | static int dereferenceFlag = FALSE; | 33 | static int dereferenceFlag = FALSE; |
34 | 34 | ||
35 | static const char find_usage[] = "find [PATH...] [EXPRESSION]\n" | ||
36 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
37 | "\nSearch for files in a directory hierarchy. The default PATH is\n" | ||
38 | "the current directory; default EXPRESSION is '-print'\n\n" | ||
39 | "\nEXPRESSION may consist of:\n" | ||
40 | "\t-follow\t\tDereference symbolic links.\n" | ||
41 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n" | ||
42 | "\t-print\t\tprint the full file name followed by a newline to stdout.\n" | ||
43 | #endif | ||
44 | ; | ||
45 | |||
46 | |||
47 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 35 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
48 | { | 36 | { |
49 | if (pattern == NULL) | 37 | if (pattern == NULL) |