diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-06-21 20:23:02 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-06-21 20:23:02 +0000 |
commit | 4d14a43595a99901cc7d58e99e84d6140257bb9b (patch) | |
tree | 670079b82cc48417598cf55dac9a59a6a8f93c77 /usr.bin/cvs/checkout.c | |
parent | 89c290ebd976790593e88eb81d7b8b52cddf989b (diff) |
Use correct synopses for checkout and export when an invalid -k option
is specified. From Dawe in user/6177.
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r-- | usr.bin/cvs/checkout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index 6d49b6dee84..63d2da997a2 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.164 2009/04/06 06:45:56 joris Exp $ */ +/* $OpenBSD: checkout.c,v 1.165 2009/06/21 20:23:01 sthen Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -122,7 +122,7 @@ cvs_checkout(int argc, char **argv) if (RCS_KWEXP_INVAL(kflag)) { cvs_log(LP_ERR, "invalid RCS keyword expansion mode"); - fatal("%s", cvs_cmd_add.cmd_synopsis); + fatal("%s", cvs_cmd_checkout.cmd_synopsis); } break; case 'l': @@ -197,7 +197,7 @@ cvs_export(int argc, char **argv) if (RCS_KWEXP_INVAL(kflag)) { cvs_log(LP_ERR, "invalid RCS keyword expansion mode"); - fatal("%s", cvs_cmd_add.cmd_synopsis); + fatal("%s", cvs_cmd_export.cmd_synopsis); } break; case 'l': |