diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-31 10:54:06 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-31 10:54:06 +0000 |
commit | d3d99eec567bb7cc282077f5817ca1a1a1150958 (patch) | |
tree | c0a14f14e1426fdb731afc8d8b7ffe82077a4087 /usr.bin/cvs/watch.c | |
parent | a54ff00c558cd8f3c62ed639b4c898f86c64389e (diff) |
add some comments ..
Diffstat (limited to 'usr.bin/cvs/watch.c')
-rw-r--r-- | usr.bin/cvs/watch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/watch.c b/usr.bin/cvs/watch.c index 55ddee31804..ee97433b960 100644 --- a/usr.bin/cvs/watch.c +++ b/usr.bin/cvs/watch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: watch.c,v 1.1 2005/05/30 08:01:19 xsa Exp $ */ +/* $OpenBSD: watch.c,v 1.2 2005/05/31 10:54:05 xsa Exp $ */ /* * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -89,6 +89,10 @@ cvs_watch_init(struct cvs_cmd *cmd, int argc, char **argv, int *arg) while ((ch = getopt(argc, argv, cmd->cmd_opts)) != -1) { switch (ch) { case 'a': + /* + * The `watchers' command does not have the + * -a option. Check which command has been issued. + */ if (cvs_cmdop != CVS_OP_WATCH) return (CVS_EX_USAGE); break; |