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/tclConfig.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/tclConfig.c')
| -rw-r--r-- | generic/tclConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c index 69306c3..a810521 100644 --- a/generic/tclConfig.c +++ b/generic/tclConfig.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: tclConfig.c,v 1.20 2008/04/27 22:21:29 dkf Exp $ + * RCS: @(#) $Id: tclConfig.c,v 1.21 2008/07/19 22:50:40 nijtmans Exp $ */ #include "tclInt.h" @@ -222,7 +222,7 @@ QueryConfigObjCmd( }; if ((objc < 2) || (objc > 3)) { - Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?argument?"); + Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?arg?"); return TCL_ERROR; } if (Tcl_GetIndexFromObj(interp, objv[1], subcmdStrings, "subcommand", 0, |
