home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / sarg1221.zip / usage.c < prev    next >
C/C++ Source or Header  |  2002-06-13  |  2KB  |  37 lines

  1. /*
  2.  * sarg - Squid user management log
  3.  * Mar/98 - Pedro L Orso - orso@onda.com.br
  4.  */
  5.  
  6. #include "include/conf.h"
  7.  
  8. void usage(char *prog)
  9. {
  10.   fprintf(stderr, "%s: %s [%s...]\n", prog,text[39],text[40]);
  11.   fprintf(stderr, "%5s-a %s\n"," ",text[23]);
  12.   fprintf(stderr, "%5s-b %s\n"," ",text[71]);
  13.   fprintf(stderr, "%5s-c %s\n"," ",text[69]);
  14.   fprintf(stderr, "%5s-d %s dd/mm/yyyy-dd/mm/yyyy\n"," ",text[24]);
  15.   fprintf(stderr, "%5s-e %s (%s)\n"," ",text[41],text[42]);
  16.   fprintf(stderr, "%5s-f %s (%s/sarg.conf)\n"," ",text[70],SYSCONFDIR);
  17.   fprintf(stderr, "%5s-g %s [e=%s -> dd/mm/yy, u=%s -> mm/dd/yy]\n"," ",text[25],text[26],text[27]);
  18.   fprintf(stderr, "%5s-h Help (this...)\n"," ");
  19.   fprintf(stderr, "%5s-i %s\n"," ",text[43]);
  20.   fprintf(stderr, "%5s-l %s\n"," ",text[37]);
  21.   fprintf(stderr, "%5s-n %s\n"," ",text[65]);
  22.   fprintf(stderr, "%5s-o %s\n"," ",text[38]);
  23.   fprintf(stderr, "%5s-p %s (%s)\n"," ",text[29],text[44]);
  24.   fprintf(stderr, "%5s-s %s [Eg. www.microsoft.com, www.netscape.com]\n"," ",text[30]);
  25.   fprintf(stderr, "%5s-t %s [HH, HH:MM, HH:MM:SS]\n"," ",text[31]);
  26.   fprintf(stderr, "%5s-u %s\n"," ",text[32]);
  27.   fprintf(stderr, "%5s-w %s\n"," ",text[34]);
  28.   fprintf(stderr, "%5s-x %s\n"," ",text[36]);
  29.   fprintf(stderr, "%5s-z %s\n"," ",text[35]);
  30.   fprintf(stderr, "%5s-convert %s\n"," ",text[76]);
  31.   fprintf(stderr, "%5s-split %s\n"," ",text[77]);
  32.   fprintf(stderr, "\n\t%s-%s %s Pedro Lineu Orso - orso@onda.com.br\n",PGM,VERSION,text[78]);
  33.   fprintf(stderr, "\thttp://web.onda.com.br/orso/index.html\n\n");
  34.  
  35.   return;
  36. }
  37.