/[inetutils]/inetutils/ifconfig/options.c
ViewVC logotype

Diff of /inetutils/ifconfig/options.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by alainm, Wed Jun 27 01:24:13 2001 UTC revision 1.7 by ams, Mon Apr 29 20:54:02 2002 UTC
# Line 1  Line 1 
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    
# Line 23  Line 23 
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>
# Line 210  Options are:\n\ Line 209  Options are:\n\
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  }  }
# Line 416  parse_opt (int argc, char *argv[]) Line 415  parse_opt (int argc, char *argv[])
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 '?':

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26