diff options
Diffstat (limited to 'usr.bin/join/join.c')
-rw-r--r-- | usr.bin/join/join.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c index 0ca203fd66f..7e467e1dc78 100644 --- a/usr.bin/join/join.c +++ b/usr.bin/join/join.c @@ -1,4 +1,4 @@ -/* $Id: join.c,v 1.9 1997/07/24 01:35:30 deraadt Exp $ +/* $Id: join.c,v 1.10 1997/08/25 05:31:10 deraadt Exp $ /*- * Copyright (c) 1991, 1993, 1994 @@ -45,7 +45,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "@(#)join.c 8.6 (Berkeley) 5/4/95"; */ -static char rcsid[] = "$Id: join.c,v 1.9 1997/07/24 01:35:30 deraadt Exp $"; +static char rcsid[] = "$Id: join.c,v 1.10 1997/08/25 05:31:10 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -561,6 +561,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': /* |