version 1.3, 2005/06/15 09:17:14 |
version 1.4, 2005/07/07 14:27:57 |
|
|
}; |
}; |
|
|
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 |
}; |
}; |
|
|
|
|
|
|
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': |
|
|
{ |
{ |
return (CVS_EX_OK); |
return (CVS_EX_OK); |
} |
} |
|
|
|
|
/* |
/* |
* cvs_watchers_local() |
* cvs_watchers_local() |
* |
* |