home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / nntp1.5 / part01 / server / help.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-04-18  |  833 b   |  31 lines

  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. }
  31.