1 |
/*- |
/*- |
2 |
* Copyright (c) 1983, 1990, 1993, 1994 |
* Copyright (c) 1983, 1990, 1993, 1994, 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 |
30 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
31 |
#include <config.h> |
#include <config.h> |
32 |
#endif |
#endif |
|
#include <version.h> |
|
33 |
|
|
34 |
#include <sys/types.h> |
#include <sys/types.h> |
35 |
#include <sys/socket.h> |
#include <sys/socket.h> |
81 |
extern char *krb_realmofhost(); |
extern char *krb_realmofhost(); |
82 |
#endif |
#endif |
83 |
|
|
|
#include "version.h" |
|
|
|
|
84 |
/* |
/* |
85 |
* rsh - remote shell |
* rsh - remote shell |
86 |
*/ |
*/ |
177 |
--help give this help list"); |
--help give this help list"); |
178 |
puts ("\ |
puts ("\ |
179 |
-V, --version print program version"); |
-V, --version print program version"); |
180 |
fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr); |
fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT); |
181 |
exit (0); |
exit (0); |
182 |
} |
} |
183 |
|
|
278 |
help (); |
help (); |
279 |
|
|
280 |
case 'V': |
case 'V': |
281 |
printf ("rsh (%s) %s\n", inetutils_package, inetutils_version); |
printf ("rsh (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION); |
282 |
exit (0); |
exit (0); |
283 |
|
|
284 |
case '?': |
case '?': |