summaryrefslogtreecommitdiffstats
path: root/generic/tclTrace.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-19 22:50:38 (GMT)
committernijtmans <nijtmans>2008-07-19 22:50:38 (GMT)
commit421f74b6e684727db193b1b1fc1e3a9649f86f58 (patch)
treec042d36466266a5022288e3db7d8d9a7dc6e81be /generic/tclTrace.c
parent9c9a7764a3a00160ff48011547624ecf659a3dc9 (diff)
downloadtcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.zip
tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.gz
tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.bz2
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'generic/tclTrace.c')
-rw-r--r--generic/tclTrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTrace.c b/generic/tclTrace.c
index c7aa4d2..b15b671 100644
--- a/generic/tclTrace.c
+++ b/generic/tclTrace.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTrace.c,v 1.48 2008/05/30 22:54:29 dkf Exp $
+ * RCS: @(#) $Id: tclTrace.c,v 1.49 2008/07/19 22:50:42 nijtmans Exp $
*/
#include "tclInt.h"
@@ -211,7 +211,7 @@ Tcl_TraceObjCmd(
};
if (objc < 2) {
- Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg ...?");
+ Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?");
return TCL_ERROR;
}
@@ -231,7 +231,7 @@ Tcl_TraceObjCmd(
int typeIndex;
if (objc < 3) {
- Tcl_WrongNumArgs(interp, 2, objv, "type ?arg arg ...?");
+ Tcl_WrongNumArgs(interp, 2, objv, "type ?arg ...?");
return TCL_ERROR;
}
if (Tcl_GetIndexFromObj(interp, objv[2], traceTypeOptions, "option",