From 78532d4172d2fcc66c135de009786a4b294597cb Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 21 Nov 2002 21:01:12 +0000 Subject: crap in getopt; margarida --- usr.sbin/ypserv/yppush/yppush.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'usr.sbin/ypserv/yppush') diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c index 641b1b9f6c2..1cabfe07f48 100644 --- a/usr.sbin/ypserv/yppush/yppush.c +++ b/usr.sbin/ypserv/yppush/yppush.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush.c,v 1.17 2002/07/19 02:38:40 deraadt Exp $ */ +/* $OpenBSD: yppush.c,v 1.18 2002/11/21 21:01:11 deraadt Exp $ */ /* * Copyright (c) 1995 Mats O Jansson @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush.c,v 1.17 2002/07/19 02:38:40 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: yppush.c,v 1.18 2002/11/21 21:01:11 deraadt Exp $"; #endif /* not lint */ #include @@ -230,7 +230,7 @@ main(int argc, char *argv[]) struct ypall_callback ypcb; extern char *optarg; extern int optind; - char *domain, *map, *hostname, *parallel, *timeout; + char *domain, *map, *hostname; int c, r, i; char *ypmap = "ypservers"; CLIENT *client; @@ -250,12 +250,6 @@ main(int argc, char *argv[]) case 'h': hostname = optarg; break; - case 'p': - parallel = optarg; - break; - case 't': - timeout = optarg; - break; case 'v': Verbose = 1; break; -- cgit v1.2.3