summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-07-02 12:59:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-07-02 12:59:45 +0000
commitea6a51f02d99fcd3332feb524dc23027a4b5692b (patch)
tree3ce778db3d0c85dc04f0af1d4f64cc47f9bf82b9
parentad9c070d3759af16081af926b1fc2ae443f0b417 (diff)
Accept but ignore -E and -X since they specify default more(1) behavior.
-rw-r--r--distrib/special/more/more.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/special/more/more.c b/distrib/special/more/more.c
index eae3becfb9e..e7b50beb3d6 100644
--- a/distrib/special/more/more.c
+++ b/distrib/special/more/more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: more.c,v 1.25 2003/06/05 03:39:51 millert Exp $ */
+/* $OpenBSD: more.c,v 1.26 2004/07/02 12:59:44 millert Exp $ */
/*
* Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -58,7 +58,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)more.c 5.28 (Berkeley) 3/1/93";
#else
-static const char rcsid[] = "$OpenBSD: more.c,v 1.25 2003/06/05 03:39:51 millert Exp $";
+static const char rcsid[] = "$OpenBSD: more.c,v 1.26 2004/07/02 12:59:44 millert Exp $";
#endif
#endif /* not lint */
@@ -424,6 +424,8 @@ argscan(char *s)
case 'u':
ul_opt = 0;
break;
+ case 'X':
+ case 'E':
case '-':
case ' ':
case '\t':