From faba086be3f2c684db113b7f244b3324f7462473 Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Tue, 19 Aug 1997 15:58:15 +0000 Subject: [PATCH] Require all compatability options to begin with '-'. PR: 4145 --- usr.bin/join/join.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c index e3d42cf8f59..276f98848d2 100644 --- a/usr.bin/join/join.c +++ b/usr.bin/join/join.c @@ -46,7 +46,7 @@ static const char copyright[] = static char sccsid[] = "@(#)join.c 8.6 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: join.c,v 1.7 1997/07/15 09:57:28 charnier Exp $"; #endif /* not lint */ #include @@ -515,6 +515,9 @@ obsolete(argv) /* Return if "--". */ if (ap[0] == '-' && ap[1] == '-') return; + /* skip if not an option */ + if (ap[0] != '-') + continue; switch (ap[1]) { case 'a': /*