summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-21 21:25:21 (GMT)
committernijtmans <nijtmans>2008-07-21 21:25:21 (GMT)
commit35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f (patch)
tree1e36dc0aa27335f1696429c74cc680263b1c9a06 /generic/tclFileName.c
parentca32e49e84dd1c4b6f27fac6eb8a747cd699d864 (diff)
downloadtcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.zip
tcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.tar.gz
tcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 723b993..ce2ee53 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.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: tclFileName.c,v 1.88 2008/05/02 20:02:39 patthoyts Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.89 2008/07/21 21:25:21 nijtmans Exp $
*/
#include "tclInt.h"
@@ -1300,7 +1300,7 @@ Tcl_GlobObjCmd(
endOfForLoop:
if (objc - i < 1) {
- Tcl_WrongNumArgs(interp, 1, objv, "?switches? name ?name ...?");
+ Tcl_WrongNumArgs(interp, 1, objv, "?-switch ...? name ?name ...?");
return TCL_ERROR;
}
if ((globFlags & TCL_GLOBMODE_TAILS) && (pathOrDir == NULL)) {