[BACK]Return to watch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/watch.c between version 1.3 and 1.4

version 1.3, 2005/06/15 09:17:14 version 1.4, 2005/07/07 14:27:57
Line 63 
Line 63 
 };  };
   
 struct cvs_cmd cvs_cmd_watchers = {  struct cvs_cmd cvs_cmd_watchers = {
         CVS_OP_WATCHERS, CVS_REQ_WATCHERS, "watchers",          CVS_OP_WATCHERS, CVS_REQ_WATCHERS, "watchers",
         {},          {},
         "See who is watching a file",          "See who is watching a file",
         "[-lR] [file ...]",          "[-lR] [file ...]",
         "lR",          "lR",
         NULL,          NULL,
         CF_SORT | CF_RECURSE,          CF_SORT | CF_RECURSE,
         cvs_watch_init,          cvs_watch_init,
         NULL,          NULL,
         cvs_watchers_remote,          cvs_watchers_remote,
         cvs_watchers_local,          cvs_watchers_local,
         NULL,          NULL,
         NULL,          NULL,
         0          0
 };  };
   
   
Line 85 
Line 85 
 cvs_watch_init(struct cvs_cmd *cmd, int argc, char **argv, int *arg)  cvs_watch_init(struct cvs_cmd *cmd, int argc, char **argv, int *arg)
 {  {
         int ch;          int ch;
   
         while ((ch = getopt(argc, argv, cmd->cmd_opts)) != -1) {          while ((ch = getopt(argc, argv, cmd->cmd_opts)) != -1) {
                 switch (ch) {                  switch (ch) {
                 case 'a':                  case 'a':
Line 143 
Line 143 
 {  {
         return (CVS_EX_OK);          return (CVS_EX_OK);
 }  }
   
   
 /*  /*
  * cvs_watchers_local()   * cvs_watchers_local()
  *   *

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