summaryrefslogtreecommitdiff
path: root/head.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 /head.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'head.c')
-rw-r--r--head.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/head.c b/head.c
index b82678d..58b3cae 100644
--- a/head.c
+++ b/head.c
@@ -26,17 +26,6 @@
#include <errno.h>
#include <stdio.h>
-const char head_usage[] =
- "head [OPTION] [FILE]...\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nPrint first 10 lines of each FILE to standard output.\n"
- "With more than one FILE, precede each with a header giving the\n"
- "file name. With no FILE, or when FILE is -, read standard input.\n\n"
-
- "Options:\n" "\t-n NUM\t\tPrint first NUM lines instead of first 10\n"
-#endif
- ;
-
int head(int len, FILE * src)
{
int i;
@@ -111,4 +100,4 @@ int head_main(int argc, char **argv)
return(0);
}
-/* $Id: head.c,v 1.12 2000/07/14 01:51:25 kraai Exp $ */
+/* $Id: head.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */