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
usage(void)
{
fprintf (stderr, "Usage: %s [-p port] [-d] [-t] [-l remoteuser] host\n",
__progname);
fprintf(stderr, "Usage: %s [-p port] [-d] [-D] [-t] [-l remoteuser] host\n",
__progname);
exit (1);
}
@@ -555,11 +555,14 @@ main(int argc, char **argv)
int port = 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) {
case 'd' :
debugp = 1;
break;
case 'D':
krb_enable_debug();
break;
case 'k':
keepalivep = 0;
break;