diff options
| author | nijtmans <nijtmans> | 2008-07-21 21:25:21 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-21 21:25:21 (GMT) |
| commit | 085ce45097c36efb393c5208a07a0c1775460f78 (patch) | |
| tree | 1e36dc0aa27335f1696429c74cc680263b1c9a06 /generic/tclLoad.c | |
| parent | d71b1a98e4eca0fe0b2bf3e6d90cb671573b7812 (diff) | |
| download | tcl-085ce45097c36efb393c5208a07a0c1775460f78.zip tcl-085ce45097c36efb393c5208a07a0c1775460f78.tar.gz tcl-085ce45097c36efb393c5208a07a0c1775460f78.tar.bz2 | |
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'generic/tclLoad.c')
| -rw-r--r-- | generic/tclLoad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index 7ed2ee7..6c1c483 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoad.c,v 1.17 2008/05/30 22:54:29 dkf Exp $ + * RCS: @(#) $Id: tclLoad.c,v 1.18 2008/07/21 21:25:21 nijtmans Exp $ */ #include "tclInt.h" @@ -549,7 +549,7 @@ Tcl_UnloadObjCmd( endOfForLoop: if ((objc-i < 1) || (objc-i > 3)) { Tcl_WrongNumArgs(interp, 1, objv, - "?switches? fileName ?packageName? ?interp?"); + "?-switch ...? fileName ?packageName? ?interp?"); return TCL_ERROR; } if (Tcl_FSConvertToPathType(interp, objv[i]) != TCL_OK) { |
