fix argument in getopt
authorJohn Kohl <jtkohl@mit.edu>
Mon, 30 Apr 1990 14:04:04 +0000 (14:04 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 30 Apr 1990 14:04:04 +0000 (14:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@630 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/destroy/kdb5_destroy.c

index 2ce668245ff45ec9b762530c7e5de90265c0ee4c..d88263dc3e377108ebc93aec152e6cb770bb70ce 100644 (file)
@@ -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;