aboutsummaryrefslogtreecommitdiff
path: root/util-linux/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/more.c')
-rw-r--r--util-linux/more.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 4812f1bc5..f6923efda 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -76,7 +76,16 @@ int more_main(int argc UNUSED_PARAM, char **argv)
76 76
77 INIT_G(); 77 INIT_G();
78 78
79 argv++; 79 /* Parse options */
80 /* Accepted but ignored: */
81 /* -d Display help instead of ringing bell is pressed */
82 /* -f Count logical lines (IOW: long lines are not folded) */
83 /* -l Do not pause after any line containing a ^L (form feed) */
84 /* -s Squeeze blank lines into one */
85 /* -u Suppress underlining */
86 getopt32(argv, "dflsu");
87 argv += optind;
88
80 /* Another popular pager, most, detects when stdout 89 /* Another popular pager, most, detects when stdout
81 * is not a tty and turns into cat. This makes sense. */ 90 * is not a tty and turns into cat. This makes sense. */
82 if (!isatty(STDOUT_FILENO)) 91 if (!isatty(STDOUT_FILENO))