diff options
author | nijtmans <nijtmans@noemail.net> | 2008-07-21 21:25:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-07-21 21:25:20 (GMT) |
commit | 5ca4fc1d842c291d897e911232a145764b44cbe2 (patch) | |
tree | 1e36dc0aa27335f1696429c74cc680263b1c9a06 /generic/tclIOCmd.c | |
parent | 75137d639fbd81065b6239a20d8640ae4d07e306 (diff) | |
download | tcl-5ca4fc1d842c291d897e911232a145764b44cbe2.zip tcl-5ca4fc1d842c291d897e911232a145764b44cbe2.tar.gz tcl-5ca4fc1d842c291d897e911232a145764b44cbe2.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages (follow-up)
FossilOrigin-Name: 395eaa2623b2540e0cb48daab4369053acb0f8d0
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index b24b856..57b289b 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOCmd.c,v 1.56 2008/07/21 21:02:17 ferrieux Exp $ + * RCS: @(#) $Id: tclIOCmd.c,v 1.57 2008/07/21 21:25:21 nijtmans Exp $ */ #include "tclInt.h" @@ -873,7 +873,7 @@ Tcl_ExecObjCmd( } } if (objc <= skip) { - Tcl_WrongNumArgs(interp, 1, objv, "?switches? arg ?arg ...?"); + Tcl_WrongNumArgs(interp, 1, objv, "?-switch ...? arg ?arg ...?"); return TCL_ERROR; } |