aboutsummaryrefslogtreecommitdiff
path: root/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'head.c')
-rw-r--r--head.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/head.c b/head.c
index 3db64b3bc..f4ebe05c9 100644
--- a/head.c
+++ b/head.c
@@ -27,12 +27,15 @@
27#include <stdio.h> 27#include <stdio.h>
28 28
29const char head_usage[] = 29const char head_usage[] =
30 "head [OPTION] [FILE]...\n\n" 30 "head [OPTION] [FILE]...\n"
31 "Print first 10 lines of each FILE to standard output.\n" 31#ifndef BB_FEATURE_TRIVIAL_HELP
32 "\nPrint first 10 lines of each FILE to standard output.\n"
32 "With more than one FILE, precede each with a header giving the\n" 33 "With more than one FILE, precede each with a header giving the\n"
33 "file name. With no FILE, or when FILE is -, read standard input.\n\n" 34 "file name. With no FILE, or when FILE is -, read standard input.\n\n"
34 35
35 "Options:\n" "\t-n NUM\t\tPrint first NUM lines instead of first 10\n"; 36 "Options:\n" "\t-n NUM\t\tPrint first NUM lines instead of first 10\n"
37#endif
38 ;
36 39
37int head(int len, FILE * src) 40int head(int len, FILE * src)
38{ 41{
@@ -109,4 +112,4 @@ int head_main(int argc, char **argv)
109 exit(0); 112 exit(0);
110} 113}
111 114
112/* $Id: head.c,v 1.9 2000/04/13 01:18:56 erik Exp $ */ 115/* $Id: head.c,v 1.10 2000/05/12 19:41:47 erik Exp $ */