1 |
/* |
/* |
2 |
* Copyright (c) 1983, 1993 |
* Copyright (c) 1983, 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 <syslog-int.h> |
# include <syslog-int.h> |
50 |
#endif |
#endif |
51 |
|
|
|
#include <version.h> |
|
|
|
|
52 |
int decode __P((char *, CODE *)); |
int decode __P((char *, CODE *)); |
53 |
int pencode __P((char *)); |
int pencode __P((char *)); |
54 |
static void usage __P((int)); |
static void usage __P((int)); |
91 |
--help Display this help and exit\n\ |
--help Display this help and exit\n\ |
92 |
--version Output version information and exit"); |
--version Output version information and exit"); |
93 |
|
|
94 |
fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr); |
fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT); |
95 |
} |
} |
96 |
exit (err); |
exit (err); |
97 |
} |
} |
151 |
/* Not reached. */ |
/* Not reached. */ |
152 |
|
|
153 |
case 'V': /* Version. */ |
case 'V': /* Version. */ |
154 |
printf ("syslog (%s) %s\n", inetutils_package, inetutils_version); |
printf ("syslog (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION); |
155 |
exit (0); |
exit (0); |
156 |
|
|
157 |
case '?': |
case '?': |