diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-14 09:56:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-14 09:56:56 (GMT) |
commit | 00c61e611d0efe1b62775b665e0157345c9ad7b5 (patch) | |
tree | 122236bc0f36072ea852aa85a8188b9475c19ef2 /generic | |
parent | 9e7ea957b3c08bb06ba7a98956bfc39fca90f3cb (diff) | |
parent | e4bdb863a0201c96d5114bd18b4468c9e7f7dcc9 (diff) | |
download | tk-00c61e611d0efe1b62775b665e0157345c9ad7b5.zip tk-00c61e611d0efe1b62775b665e0157345c9ad7b5.tar.gz tk-00c61e611d0efe1b62775b665e0157345c9ad7b5.tar.bz2 |
More consistancy in Tcl_WrongNumArgs() messages and documentation
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkBusy.c | 2 | ||||
-rw-r--r-- | generic/tkPanedWindow.c | 2 | ||||
-rw-r--r-- | generic/tkSquare.c | 2 | ||||
-rw-r--r-- | generic/tkTest.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c index 8bbf764..de09d1c 100644 --- a/generic/tkBusy.c +++ b/generic/tkBusy.c @@ -809,7 +809,7 @@ Tk_BusyObjCmd( }; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "options ?arg arg ...?"); + Tcl_WrongNumArgs(interp, 1, objv, "options ?arg ...?"); return TCL_ERROR; } diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c index b1eb8c2..285e907 100644 --- a/generic/tkPanedWindow.c +++ b/generic/tkPanedWindow.c @@ -552,7 +552,7 @@ PanedWindowWidgetObjCmd( Slave *slavePtr; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg...?"); + Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?"); return TCL_ERROR; } diff --git a/generic/tkSquare.c b/generic/tkSquare.c index 2b2d3c5..04c51fa 100644 --- a/generic/tkSquare.c +++ b/generic/tkSquare.c @@ -234,7 +234,7 @@ SquareWidgetObjCmd( int index; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg...?"); + Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?"); return TCL_ERROR; } diff --git a/generic/tkTest.c b/generic/tkTest.c index b4f1fad..c222ad2 100644 --- a/generic/tkTest.c +++ b/generic/tkTest.c @@ -1166,7 +1166,7 @@ TrivialConfigObjCmd( Tk_SavedOptions saved; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg...?"); + Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?"); return TCL_ERROR; } |