From 81433596bbe16cb472de1f8f5f6924def6d488c9 Mon Sep 17 00:00:00 2001 From: rjohnson Date: Wed, 23 Dec 1998 02:01:41 +0000 Subject: Made error message for cd cmd consistant with 8.1. FossilOrigin-Name: d84fbad1a0efb83d97c9d4232744ceac2e7ca917 --- generic/tclCmdAH.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index a0aeaeb..fd31e52 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdAH.c,v 1.3 1998/09/14 18:39:57 stanton Exp $ + * RCS: @(#) $Id: tclCmdAH.c,v 1.4 1998/12/23 02:01:42 rjohnson Exp $ */ #include "tclInt.h" @@ -306,7 +306,7 @@ Tcl_CdObjCmd(dummy, interp, objc, objv) int result; if (objc > 2) { - Tcl_WrongNumArgs(interp, 1, objv, "dirName"); + Tcl_WrongNumArgs(interp, 1, objv, "?dirName?"); return TCL_ERROR; } -- cgit v0.12