summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index 935ef87c6e2..129eda59c18 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.55 2008/02/10 10:21:42 joris Exp $ */
+/* $OpenBSD: annotate.c,v 1.56 2008/03/02 19:05:34 tobias Exp $ */
/*
* Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -84,7 +84,9 @@ cvs_annotate(int argc, char **argv)
cvs_specified_tag = optarg;
break;
default:
- fatal("%s", cvs_cmd_annotate.cmd_synopsis);
+ fatal("%s", cvs_cmdop == CVS_OP_ANNOTATE ?
+ cvs_cmd_annotate.cmd_synopsis :
+ cvs_cmd_rannotate.cmd_synopsis);
}
}