=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/rcsclean.c,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/usr.bin/rcs/rcsclean.c 2006/04/17 04:50:08 1.36 --- src/usr.bin/rcs/rcsclean.c 2006/04/19 06:53:41 1.37 *************** *** 1,4 **** ! /* $OpenBSD: rcsclean.c,v 1.36 2006/04/17 04:50:08 ray Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: rcsclean.c,v 1.37 2006/04/19 06:53:41 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. *************** *** 64,70 **** break; case 'q': rcs_setrevstr(&rev_str, rcs_optarg); ! verbose = 0; break; case 'r': rcs_setrevstr(&rev_str, rcs_optarg); --- 64,70 ---- break; case 'q': rcs_setrevstr(&rev_str, rcs_optarg); ! flags |= QUIET; break; case 'r': rcs_setrevstr(&rev_str, rcs_optarg); *************** *** 185,191 **** if (match == 1) { if (uflag == 1 && !TAILQ_EMPTY(&(file->rf_locks))) { ! if (verbose == 1 && nflag == 0) { printf("rcs -u%s %s\n", rcsnum_tostr(rev, numb, sizeof(numb)), fpath); --- 185,191 ---- if (match == 1) { if (uflag == 1 && !TAILQ_EMPTY(&(file->rf_locks))) { ! if (!(flags & QUIET) && nflag == 0) { printf("rcs -u%s %s\n", rcsnum_tostr(rev, numb, sizeof(numb)), fpath); *************** *** 194,200 **** } if (TAILQ_EMPTY(&(file->rf_locks))) { ! if (verbose == 1) printf("rm -f %s\n", fname); if (nflag == 0) --- 194,200 ---- } if (TAILQ_EMPTY(&(file->rf_locks))) { ! if (!(flags & QUIET)) printf("rm -f %s\n", fname); if (nflag == 0)