1: #ifndef lint
   2: static char *sccsid = "@(#)help.c	1.7	(Berkeley) 6/26/87";
   3: #endif
   4: 
   5: #include "common.h"
   6: 
   7: /*
   8:  * HELP
   9:  *
  10:  * Provide a naive user with a brief help message.
  11:  *
  12:  */
  13: 
  14: help(argc, argv)
  15: int argc;
  16: char    *argv[];
  17: {
  18:     printf("%d This server accepts the following commands:\r\n", INF_HELP);
  19:     printf("ARTICLE     BODY         GROUP\r\n");
  20:     printf("HEAD        LAST         LIST\r\n");
  21:     printf("NEXT        POST         QUIT\r\n");
  22:     printf("STAT        NEWGROUPS    HELP\r\n");
  23:     printf("IHAVE       NEWNEWS      SLAVE\r\n");
  24:     printf("\r\nAdditionally, the following extention is supported:\r\n\r\n");
  25:     printf("XHDR        Retrieve a single header line from a range of articles.\r\n");
  26:     printf("\r\n");
  27:     printf("Bugs to Phil Lapsley (Internet: phil@berkeley.edu; UUCP: ...!ucbvax!phil)\r\n");
  28:     printf(".\r\n");
  29:     (void) fflush(stdout);
  30: }

Defined functions

help defined in line 14; used 2 times

Defined variables

sccsid defined in line 2; never used
Last modified: 1987-06-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2477
Valid CSS Valid XHTML 1.0 Strict