/[inetutils]/inetutils/rsh/rsh.c
ViewVC logotype

Diff of /inetutils/rsh/rsh.c

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

revision 1.19 by alainm, Sun Nov 4 03:34:51 2001 UTC revision 1.20 by ams, Mon Apr 29 21:15:47 2002 UTC
# Line 1  Line 1 
1  /*-  /*-
2   * Copyright (c) 1983, 1990, 1993, 1994   * Copyright (c) 1983, 1990, 1993, 1994, 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 30  Line 30 
30  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
31  #include <config.h>  #include <config.h>
32  #endif  #endif
 #include <version.h>  
33    
34  #include <sys/types.h>  #include <sys/types.h>
35  #include <sys/socket.h>  #include <sys/socket.h>
# Line 82  char dst_realm_buf[REALM_SZ], *dest_real Line 81  char dst_realm_buf[REALM_SZ], *dest_real
81  extern char *krb_realmofhost();  extern char *krb_realmofhost();
82  #endif  #endif
83    
 #include "version.h"  
   
84  /*  /*
85   * rsh - remote shell   * rsh - remote shell
86   */   */
# Line 180  help (void) Line 177  help (void)
177        --help        give this help list");        --help        give this help list");
178    puts ("\    puts ("\
179    -V, --version     print program version");    -V, --version     print program version");
180    fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr);    fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT);
181    exit (0);    exit (0);
182  }  }
183    
# Line 281  main (int argc, char **argv) Line 278  main (int argc, char **argv)
278            help ();            help ();
279    
280          case 'V':          case 'V':
281            printf ("rsh (%s) %s\n", inetutils_package, inetutils_version);            printf ("rsh (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
282            exit (0);            exit (0);
283    
284          case '?':          case '?':

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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