summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-21 21:01:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-21 21:01:12 +0000
commit78532d4172d2fcc66c135de009786a4b294597cb (patch)
treeeefadb01a62523f9dc6c0ca2eb49b04e86edbd68 /usr.sbin
parent4343d99dda701d38daa98528f6b6b9681d181dee (diff)
crap in getopt; margarida
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypserv/yppush/yppush.c12
1 files changed, 3 insertions, 9 deletions
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 <moj@stacken.kth.se>
@@ -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 <sys/types.h>
@@ -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;