1 |
/* |
/* |
2 |
* Copyright (c) 1988, 1990, 1993 |
* Copyright (c) 1988, 1990, 1993, 2002 |
3 |
* The Regents of the University of California. All rights reserved. |
* The Regents of the University of California. All rights reserved. |
4 |
* |
* |
5 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
49 |
#include "externs.h" |
#include "externs.h" |
50 |
#include "defines.h" |
#include "defines.h" |
51 |
|
|
|
#include "version.h" |
|
|
|
|
52 |
/* These values need to be the same as defined in libtelnet/kerberos5.c */ |
/* These values need to be the same as defined in libtelnet/kerberos5.c */ |
53 |
/* Either define them in both places, or put in some common header file. */ |
/* Either define them in both places, or put in some common header file. */ |
54 |
#define OPTS_FORWARD_CREDS 0x00000002 |
#define OPTS_FORWARD_CREDS 0x00000002 |
131 |
--help Give this help list\n\ |
--help Give this help list\n\ |
132 |
-V, --version Print program version"); |
-V, --version Print program version"); |
133 |
|
|
134 |
fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr); |
fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT); |
135 |
|
|
136 |
exit (0); |
exit (0); |
137 |
} |
} |
356 |
help (); |
help (); |
357 |
case 'V': |
case 'V': |
358 |
printf ("telnet (%s) %s\n", |
printf ("telnet (%s) %s\n", |
359 |
inetutils_package, inetutils_version); |
PACKAGE_NAME, PACKAGE_VERSION); |
360 |
exit (0); |
exit (0); |
361 |
|
|
362 |
case '?': |
case '?': |