summaryrefslogtreecommitdiff
path: root/usr.bin/compress
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-04-09 19:37:36 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-04-09 19:37:36 +0000
commit9e2a61c67c8c018b95c7efb023450971821012d0 (patch)
tree509377a2cafbf6234adf2c4f6b85750c2ea03bb5 /usr.bin/compress
parent237bce2e5e0c4b8daa1a6ac951f69f62d6bc4915 (diff)
Both more and less accept options beginning with '+'.
From Tim van der Molen
Diffstat (limited to 'usr.bin/compress')
-rw-r--r--usr.bin/compress/zmore4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/compress/zmore b/usr.bin/compress/zmore
index 3d1d38bcf0f..fc75672d9a0 100644
--- a/usr.bin/compress/zmore
+++ b/usr.bin/compress/zmore
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: zmore,v 1.7 2014/05/07 21:42:50 zhuk Exp $
+# $OpenBSD: zmore,v 1.8 2015/04/09 19:37:35 millert Exp $
#
# Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
#
@@ -29,7 +29,7 @@ while test $# -ne 0; do
shift
break
;;
- -*)
+ -*|+*)
flags="$flags $1"
shift
;;