aboutsummaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'more.c')
-rw-r--r--more.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/more.c b/more.c
index 30d2757cd..50446861e 100644
--- a/more.c
+++ b/more.c
@@ -30,8 +30,15 @@
30#include <fcntl.h> 30#include <fcntl.h>
31#include <signal.h> 31#include <signal.h>
32#include <sys/ioctl.h> 32#include <sys/ioctl.h>
33#define BB_DECLARE_EXTERN
34#define bb_need_help
35#include "messages.c"
33 36
34static const char more_usage[] = "more [file ...]\n"; 37static const char more_usage[] = "more [FILE ...]\n"
38#ifndef BB_FEATURE_TRIVIAL_HELP
39 "\nMore is a filter for viewing FILE one screenful at a time.\n"
40#endif
41 ;
35 42
36/* ED: sparc termios is broken: revert back to old termio handling. */ 43/* ED: sparc termios is broken: revert back to old termio handling. */
37#ifdef BB_FEATURE_USE_TERMIOS 44#ifdef BB_FEATURE_USE_TERMIOS
@@ -92,7 +99,7 @@ extern int more_main(int argc, char **argv)
92 argv++; 99 argv++;
93 100
94 if (argc > 0 101 if (argc > 0
95 && (strcmp(*argv, "--help") == 0 || strcmp(*argv, "-h") == 0)) { 102 && (strcmp(*argv, dash_dash_help) == 0 || strcmp(*argv, "-h") == 0)) {
96 usage(more_usage); 103 usage(more_usage);
97 } 104 }
98 do { 105 do {