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/tclInterp.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/tclInterp.c')
| -rw-r--r-- | generic/tclInterp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c index 4412aa8..b4b89a4 100644 --- a/generic/tclInterp.c +++ b/generic/tclInterp.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInterp.c,v 1.90 2008/07/18 23:29:44 msofer Exp $ + * RCS: @(#) $Id: tclInterp.c,v 1.91 2008/07/19 22:50:40 nijtmans Exp $ */ #include "tclInt.h" @@ -591,7 +591,7 @@ Tcl_InterpObjCmd( if (objc < 4) { aliasArgs: Tcl_WrongNumArgs(interp, 2, objv, - "slavePath slaveCmd ?masterPath masterCmd? ?args ..?"); + "slavePath slaveCmd ?masterPath masterCmd? ?arg ...?"); return TCL_ERROR; } slaveInterp = GetInterp(interp, objv[2]); @@ -2408,7 +2408,7 @@ SlaveObjCmd( objv[3], objc - 4, objv + 4); } } - Tcl_WrongNumArgs(interp, 2, objv, "aliasName ?targetName? ?args..?"); + Tcl_WrongNumArgs(interp, 2, objv, "aliasName ?targetName? ?arg ...?"); return TCL_ERROR; case OPT_ALIASES: if (objc != 2) { |
