krb_enable_debug

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4955 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-05-26 15:41:14 +00:00
parent 73e43483f6
commit 33938ad8fc

View File

@@ -534,8 +534,8 @@ check_for_passive (const char *disp)
static void static void
usage(void) usage(void)
{ {
fprintf (stderr, "Usage: %s [-p port] [-d] [-t] [-l remoteuser] host\n", fprintf(stderr, "Usage: %s [-p port] [-d] [-D] [-t] [-l remoteuser] host\n",
__progname); __progname);
exit (1); exit (1);
} }
@@ -555,11 +555,14 @@ main(int argc, char **argv)
int port = 0; int port = 0;
set_progname (argv[0]); set_progname (argv[0]);
while((c = getopt(argc, argv, "ktdl:p:P")) != EOF) { while((c = getopt(argc, argv, "ktdDl:p:P")) != EOF) {
switch(c) { switch(c) {
case 'd' : case 'd' :
debugp = 1; debugp = 1;
break; break;
case 'D':
krb_enable_debug();
break;
case 'k': case 'k':
keepalivep = 0; keepalivep = 0;
break; break;