1 |
/* options.c -- process the command line options |
/* options.c -- process the command line options |
2 |
|
|
3 |
Copyright (C) 2001 Free Software Foundation, Inc. |
Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
6 |
|
|
23 |
#include <config.h> |
#include <config.h> |
24 |
#endif |
#endif |
25 |
|
|
|
#include <version.h> |
|
26 |
#include <getopt.h> |
#include <getopt.h> |
27 |
#include <stdio.h> |
#include <stdio.h> |
28 |
#include <errno.h> |
#include <errno.h> |
209 |
The system options provide an alternative, backward compatible command line\n\ |
The system options provide an alternative, backward compatible command line\n\ |
210 |
interface. It is discouraged and should not be used."); |
interface. It is discouraged and should not be used."); |
211 |
} |
} |
212 |
fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr); |
fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT); |
213 |
} |
} |
214 |
exit (err); |
exit (err); |
215 |
} |
} |
415 |
/* Not reached. */ |
/* Not reached. */ |
416 |
|
|
417 |
case 'V': /* Version. */ |
case 'V': /* Version. */ |
418 |
printf ("ifconfig (%s) %s\n", inetutils_package, inetutils_version); |
printf ("ifconfig (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION); |
419 |
exit (EXIT_SUCCESS); |
exit (EXIT_SUCCESS); |
420 |
|
|
421 |
case '?': |
case '?': |