summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhershey <hershey>1999-05-18 20:17:59 (GMT)
committerhershey <hershey>1999-05-18 20:17:59 (GMT)
commit6d276bccd10908791970fcb6b2591bbf85dd45e3 (patch)
tree409b2a7ccc3135256e3421175792dd176c0e2293 /generic
parent0b42aa885e60b3cb253971b93dc39ac8cc84c09c (diff)
downloadtcl-6d276bccd10908791970fcb6b2591bbf85dd45e3.zip
tcl-6d276bccd10908791970fcb6b2591bbf85dd45e3.tar.gz
tcl-6d276bccd10908791970fcb6b2591bbf85dd45e3.tar.bz2
added -encoding to the list of legal options used in the error message when
a bad option is used. Because the fconfigure command is configurable (so more option can be added), the error string is hardcoded.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 3e9ae4d..bc8db94 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.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: tclIO.c,v 1.7 1999/04/21 21:50:25 rjohnson Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.8 1999/05/18 20:17:59 hershey Exp $
*/
#include "tclInt.h"
@@ -4924,7 +4924,7 @@ Tcl_BadChannelOption(interp, optionName, optionList)
{
if (interp) {
CONST char *genericopt =
- "blocking buffering buffersize eofchar translation";
+ "blocking buffering buffersize encoding eofchar translation";
char **argv;
int argc, i;
Tcl_DString ds;