diff options
| author | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
| commit | bf116d03858031a645b6b7f9bd67f8f784c8153c (patch) | |
| tree | c042d36466266a5022288e3db7d8d9a7dc6e81be /generic/tclTest.c | |
| parent | b14c3ce33c3768549ca86339c729e53054bd3cfd (diff) | |
| download | tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.zip tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.tar.gz tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.tar.bz2 | |
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'generic/tclTest.c')
| -rw-r--r-- | generic/tclTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index a810a55..ec7eb65 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTest.c,v 1.115 2008/04/21 16:26:38 dgp Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.116 2008/07/19 22:50:41 nijtmans Exp $ */ #define TCL_TEST @@ -1979,7 +1979,7 @@ TesteventObjCmd( TestEvent *ev; /* Event to be queued */ if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?args?"); + Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?arg ...?"); return TCL_ERROR; } if (Tcl_GetIndexFromObj(interp, objv[1], subcommands, "subcommand", @@ -4272,7 +4272,7 @@ TestfeventCmd( if (argc < 2) { Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], - " option ?arg arg ...?", NULL); + " option ?arg ...?", NULL); return TCL_ERROR; } if (strcmp(argv[1], "cmd") == 0) { |
