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

Diff of /inetutils/logger/logger.c

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

revision 1.2 by marcus, Mon Oct 30 23:32:52 2000 UTC revision 1.3 by ams, Mon Apr 29 21:05:07 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 1983, 1993   * Copyright (c) 1983, 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[] = "@(#)logger.c   8.1 Line 49  static char sccsid[] = "@(#)logger.c   8.1
49  # include <syslog-int.h>  # include <syslog-int.h>
50  #endif  #endif
51    
 #include <version.h>  
   
52  int decode __P((char *, CODE *));  int decode __P((char *, CODE *));
53  int pencode __P((char *));  int pencode __P((char *));
54  static void usage __P((int));  static void usage __P((int));
# Line 93  usage (int err) Line 91  usage (int err)
91        --help          Display this help and exit\n\        --help          Display this help and exit\n\
92        --version       Output version information and exit");        --version       Output version information and exit");
93    
94        fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr);        fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT);
95      }      }
96    exit (err);    exit (err);
97  }  }
# Line 153  main (int argc, char *argv[]) Line 151  main (int argc, char *argv[])
151            /* Not reached.  */            /* Not reached.  */
152    
153          case 'V': /* Version.  */          case 'V': /* Version.  */
154            printf ("syslog (%s) %s\n", inetutils_package, inetutils_version);            printf ("syslog (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
155            exit (0);            exit (0);
156    
157          case '?':          case '?':

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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