/[mailutils]/mailutils/comsat/comsat.c
ViewVC logotype

Diff of /mailutils/comsat/comsat.c

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

revision 1.14 by gray, Tue Feb 5 15:01:07 2002 UTC revision 1.15 by gray, Sun Feb 17 14:15:19 2002 UTC
# Line 93  static void comsat_daemon (int _port); Line 93  static void comsat_daemon (int _port);
93  static int comsat_main (int fd);  static int comsat_main (int fd);
94  static void notify_user (const char *user, const char *device, const char *path, off_t offset);  static void notify_user (const char *user, const char *device, const char *path, off_t offset);
95  static int find_user (const char *name, char *tty);  static int find_user (const char *name, char *tty);
 static void help (void);  
96  static char *mailbox_path (const char *user);  static char *mailbox_path (const char *user);
97  static void change_user (const char *user);  static void change_user (const char *user);
98    
# Line 578  change_user (const char *user) Line 577  change_user (const char *user)
577    username = user;    username = user;
578  }  }
579    
 void  
 help ()  
 {  
   printf ("Usage: comsatd [OPTIONS]\n");  
   printf ("Options are:\n");  
   printf ("  -c, --config=PATH      read configuration from the file\n");  
   printf ("  -d, --daemon           run in daemon mode\n");  
   printf ("  -h, --help             display this help and exit\n");  
   printf ("  -i, --inetd            run in inetd mode (default)\n");  
   printf ("  -p, --port=PORT        specify port to listen on, implies -d\n");  
   printf ("  -t, --timeout=VALUE    set idle timeout (implies -i)\n");  
   printf ("  -v, --version          display version information and exit\n");  
   printf ("\nReport bugs to bug-mailutils@gnu.org\n");  
   exit (EXIT_SUCCESS);  
 }  
   
580  char *  char *
581  mailbox_path (const char *user)  mailbox_path (const char *user)
582  {  {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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