From 253604bbb4a42646b7436c3774f73aac134ab523 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 30 Apr 1990 14:04:04 +0000 Subject: [PATCH] fix argument in getopt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@630 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/destroy/kdb5_destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/destroy/kdb5_destroy.c b/src/admin/destroy/kdb5_destroy.c index 2ce668245..d88263dc3 100644 --- a/src/admin/destroy/kdb5_destroy.c +++ b/src/admin/destroy/kdb5_destroy.c @@ -66,7 +66,7 @@ char *argv[]; if (rindex(argv[0], '/')) argv[0] = rindex(argv[0], '/')+1; - while ((optchar = getopt(argc, argv, "n:")) != EOF) { + while ((optchar = getopt(argc, argv, "d:")) != EOF) { switch(optchar) { case 'd': /* set db name */ dbname = optarg; -- 2.26.2