=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/edit.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/cvs/edit.c 2005/05/31 08:58:47 1.5 --- src/usr.bin/cvs/edit.c 2005/05/31 10:54:05 1.6 *************** *** 1,4 **** ! /* $OpenBSD: edit.c,v 1.5 2005/05/31 08:58:47 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: edit.c,v 1.6 2005/05/31 10:54:05 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. *************** *** 111,116 **** --- 111,120 ---- while ((ch = getopt(argc, argv, cmd->cmd_opts)) != -1) { switch (ch) { case 'a': + /* + * The `editors' and `unedit' commands do not have + * the -a option. Check which command has been issued. + */ if (cvs_cmdop != CVS_OP_EDIT) return (CVS_EX_USAGE); break;