projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de0791
)
fix argument in getopt
author
John Kohl
<jtkohl@mit.edu>
Mon, 30 Apr 1990 14:04:04 +0000
(14:04 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/admin/destroy/kdb5_destroy.c
b/src/admin/destroy/kdb5_destroy.c
index 2ce668245ff45ec9b762530c7e5de90265c0ee4c..d88263dc3e377108ebc93aec152e6cb770bb70ce 100644
(file)
--- 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;