diff options
author | dkf <dkf@noemail.net> | 2014-06-17 14:30:06 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2014-06-17 14:30:06 (GMT) |
commit | 8b9a478939a33e7b11854fd45581fe7dd4f502d5 (patch) | |
tree | 6c5654bfda52f3fa79db77469311ce3129c9d71e /generic/tclFCmd.c | |
parent | 80372665f34fef389526894fed79427ac2bf7620 (diff) | |
download | tcl-8b9a478939a33e7b11854fd45581fe7dd4f502d5.zip tcl-8b9a478939a33e7b11854fd45581fe7dd4f502d5.tar.gz tcl-8b9a478939a33e7b11854fd45581fe7dd4f502d5.tar.bz2 |
[f0f876c141] Improve consistency in error messages.
# Enter commit message for this check-in. Lines beginning with # are ignored.
#
# user: dkf
# tags: trunk
#
# EDITED generic/tclClock.c
# EDITED generic/tclCmdMZ.c
# EDITED generic/tclFCmd.c
# EDITED generic/tclIOCmd.c
# EDITED library/clock.tcl
# EDITED tests/clock.test
# EDITED tests/exec.test
# EDITED tests/fCmd.test
# EDITED tests/ioCmd.test
# EDITED tests/regexp.test
# EDITED tests/regexpComp.test
# EDITED tests/string.test
# EDITED tests/subst.test
# EDITED tests/switch.test
FossilOrigin-Name: fffc281b07873e1d3f381fe3dce5dec29df9aa47
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r-- | generic/tclFCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c index 6452fff..8bf0a5a 100644 --- a/generic/tclFCmd.c +++ b/generic/tclFCmd.c @@ -1196,7 +1196,7 @@ TclFileLinkCmd( static const char *const linkTypes[] = { "-symbolic", "-hard", NULL }; - if (Tcl_GetIndexFromObj(interp, objv[1], linkTypes, "switch", 0, + if (Tcl_GetIndexFromObj(interp, objv[1], linkTypes, "option", 0, &linkAction) != TCL_OK) { return TCL_ERROR; } |