1 |
/* |
/* |
2 |
* Copyright (c) 1983, 1990, 1993 |
* Copyright (c) 1983, 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 |
34 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
35 |
#include <config.h> |
#include <config.h> |
36 |
#endif |
#endif |
|
#include <version.h> |
|
37 |
|
|
38 |
#include <sys/types.h> |
#include <sys/types.h> |
39 |
#include <sys/param.h> |
#include <sys/param.h> |
302 |
#endif |
#endif |
303 |
|
|
304 |
case 'V': |
case 'V': |
305 |
printf ("rlogin (%s %s)\n", inetutils_package, inetutils_version); |
printf ("rlogin (%s %s)\n", PACKAGE_NAME, PACKAGE_VERSION); |
306 |
exit (0); |
exit (0); |
307 |
|
|
308 |
case '?': |
case '?': |
1190 |
-V, --version display program version"); |
-V, --version display program version"); |
1191 |
puts ("\ |
puts ("\ |
1192 |
-h, --help display usage instructions"); |
-h, --help display usage instructions"); |
1193 |
fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr); |
fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT); |
1194 |
} |
} |
1195 |
exit (status); |
exit (status); |
1196 |
} |
} |