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/tclDictObj.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/tclDictObj.c')
| -rw-r--r-- | generic/tclDictObj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c index b75c92c..2694cf8 100644 --- a/generic/tclDictObj.c +++ b/generic/tclDictObj.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: tclDictObj.c,v 1.64 2008/07/18 23:29:42 msofer Exp $ + * RCS: @(#) $Id: tclDictObj.c,v 1.65 2008/07/19 22:50:42 nijtmans Exp $ */ #include "tclInt.h" @@ -1553,7 +1553,7 @@ DictGetCmd( int result; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "dictionary ?key key ...?"); + Tcl_WrongNumArgs(interp, 1, objv, "dictionary ?key ...?"); return TCL_ERROR; } @@ -2645,7 +2645,7 @@ DictFilterCmd( char *pattern; if (objc < 3) { - Tcl_WrongNumArgs(interp, 1, objv, "dictionary filterType ..."); + Tcl_WrongNumArgs(interp, 1, objv, "dictionary filterType ?arg ...?"); return TCL_ERROR; } if (Tcl_GetIndexFromObj(interp, objv[2], filters, "filterType", |
