summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /findutils/find.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/findutils/find.c b/findutils/find.c
index e18f3c5..1c209ae 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -32,18 +32,6 @@ static char *pattern = NULL;
static char *directory = ".";
static int dereferenceFlag = FALSE;
-static const char find_usage[] = "find [PATH...] [EXPRESSION]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nSearch for files in a directory hierarchy. The default PATH is\n"
- "the current directory; default EXPRESSION is '-print'\n\n"
- "\nEXPRESSION may consist of:\n"
- "\t-follow\t\tDereference symbolic links.\n"
- "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n"
- "\t-print\t\tprint the full file name followed by a newline to stdout.\n"
-#endif
- ;
-
-
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{
if (pattern == NULL)