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

Diff of /inetutils/rlogin/rlogin.c

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

revision 1.24 by gray, Thu Nov 22 21:53:15 2001 UTC revision 1.25 by ams, Mon Apr 29 21:13:16 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 1983, 1990, 1993   * Copyright (c) 1983, 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 34  Line 34 
34  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
35  #include <config.h>  #include <config.h>
36  #endif  #endif
 #include <version.h>  
37    
38  #include <sys/types.h>  #include <sys/types.h>
39  #include <sys/param.h>  #include <sys/param.h>
# Line 303  main(int argc, char *argv[]) Line 302  main(int argc, char *argv[])
302  #endif  #endif
303    
304          case 'V':          case 'V':
305            printf ("rlogin (%s %s)\n", inetutils_package, inetutils_version);            printf ("rlogin (%s %s)\n", PACKAGE_NAME, PACKAGE_VERSION);
306            exit (0);            exit (0);
307    
308          case '?':          case '?':
# Line 1191  usage (int status) Line 1190  usage (int status)
1190    -V, --version     display program version");    -V, --version     display program version");
1191        puts ("\        puts ("\
1192    -h, --help        display usage instructions");    -h, --help        display usage instructions");
1193        fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr);        fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT);
1194      }      }
1195    exit (status);    exit (status);
1196  }  }

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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