/[inetutils]/inetutils/telnet/main.c
ViewVC logotype

Diff of /inetutils/telnet/main.c

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

revision 1.12 by alainm, Wed Jul 19 04:08:39 2000 UTC revision 1.13 by ams, Mon Apr 29 21:22:31 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 1988, 1990, 1993   * Copyright (c) 1988, 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
# Line 49  static char sccsid[] = "@(#)main.c     8.3 ( Line 49  static char sccsid[] = "@(#)main.c     8.3 (
49  #include "externs.h"  #include "externs.h"
50  #include "defines.h"  #include "defines.h"
51    
 #include "version.h"  
   
52  /* These values need to be the same as defined in libtelnet/kerberos5.c */  /* These values need to be the same as defined in libtelnet/kerberos5.c */
53  /* Either define them in both places, or put in some common header file. */  /* Either define them in both places, or put in some common header file. */
54  #define OPTS_FORWARD_CREDS           0x00000002  #define OPTS_FORWARD_CREDS           0x00000002
# Line 133  help () Line 131  help ()
131        --help                 Give this help list\n\        --help                 Give this help list\n\
132    -V, --version              Print program version");    -V, --version              Print program version");
133    
134    fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr);    fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT);
135    
136    exit (0);    exit (0);
137  }  }
# Line 358  main(int argc, char *argv[]) Line 356  main(int argc, char *argv[])
356                          help ();                          help ();
357                  case 'V':                  case 'V':
358                          printf ("telnet (%s) %s\n",                          printf ("telnet (%s) %s\n",
359                                  inetutils_package, inetutils_version);                                  PACKAGE_NAME, PACKAGE_VERSION);
360                          exit (0);                          exit (0);
361    
362                  case '?':                  case '?':

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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