aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/more
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-03-02 18:55:42 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-03-02 18:55:42 +0000
commit984e3edbe26353d6089317904707e08426e906ec (patch)
tree2d016f36a3a28953bc522521b02d588cc2ef08e7 /usr.bin/more
parent095777c6a09757411f7b838ccc1d101a7e29cc43 (diff)
Notes
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/command.c2
-rw-r--r--usr.bin/more/more.13
2 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/more/command.c b/usr.bin/more/command.c
index f451604bc537..2b8d3a412787 100644
--- a/usr.bin/more/command.c
+++ b/usr.bin/more/command.c
@@ -174,7 +174,7 @@ prompt()
repaint();
/* if no -e flag and we've hit EOF on the last file, quit. */
- if ((!quit_at_eof || short_file) && hit_eof && curr_ac + 1 >= ac)
+ if (!quit_at_eof && hit_eof && curr_ac + 1 >= ac)
quit();
/* select the proper prompt and display it. */
diff --git a/usr.bin/more/more.1 b/usr.bin/more/more.1
index e052dbb1c8c2..3355c045aee2 100644
--- a/usr.bin/more/more.1
+++ b/usr.bin/more/more.1
@@ -79,9 +79,6 @@ exits as soon as it reaches end-of-file. The
.Fl e
option tells more to
exit if it reaches end-of-file twice without an intervening operation.
-If the file is shorter than a single screen
-.Nm more
-will exit at end-of-file regardless.
.It Fl i
The
.Fl i