diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-07-01 21:09:37 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-07-01 21:09:37 +0000 |
commit | fbb7b02884ed17bc3db1de982fceab85a6675676 (patch) | |
tree | fc5def425e83aaf7f68dc395cbcaa67ed9da297f /usr.bin | |
parent | b2f7da79136fbd114320bf7d4f4f952b355dda8a (diff) |
to be correct, cvs update -p is the "print" and not the "dump" flag.
suggested by deraadt@, ok joris@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index d5955e3fa28..dfbd8fd8526 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.76 2006/07/01 20:30:46 reyk Exp $ */ +/* $OpenBSD: update.c,v 1.77 2006/07/01 21:09:36 reyk Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -23,7 +23,7 @@ int cvs_update(int, char **); int prune_dirs = 0; -int dump = 0; +int print = 0; int build_dirs = 0; int reset_stickies = 0; static char *tag = NULL; @@ -78,7 +78,7 @@ cvs_update(int argc, char **argv) prune_dirs = 1; break; case 'p': - dump = 1; + print = 1; break; case 'Q': case 'q': @@ -274,7 +274,7 @@ cvs_update_local(struct cvs_file *cf) cf->file_rcsrev = rcs_head_get(cf->file_rcs); } - if (dump && cf->file_status != FILE_UNKNOWN) { + if (print && cf->file_status != FILE_UNKNOWN) { bp = rcs_getrev(cf->file_rcs, cf->file_rcsrev); if (bp == NULL) fatal("cvs_update_local: failed to get HEAD"); |