diff options
author | nijtmans <nijtmans@noemail.net> | 2008-07-13 23:15:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-07-13 23:15:21 (GMT) |
commit | 8c30ab9d75b1daed5f852f0d917fd53b50048545 (patch) | |
tree | aacaf7cde84808f89893f7542a9a079c3e8603b1 /generic/tclFCmd.c | |
parent | 94ce7c788f15947d1c379e48ec20d421866c5333 (diff) | |
download | tcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.zip tcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.tar.gz tcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.tar.bz2 |
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...?
FossilOrigin-Name: 7dcec0e5e289de4aed4290b3ee93e1e425c765e0
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r-- | generic/tclFCmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c index c811f1a..01eea62 100644 --- a/generic/tclFCmd.c +++ b/generic/tclFCmd.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: tclFCmd.c,v 1.44 2008/04/27 22:21:30 dkf Exp $ + * RCS: @(#) $Id: tclFCmd.c,v 1.45 2008/07/13 23:15:23 nijtmans Exp $ */ #include "tclInt.h" @@ -121,7 +121,7 @@ FileCopyRename( if ((objc - i) < 2) { Tcl_AppendResult(interp, "wrong # args: should be \"", TclGetString(objv[0]), " ", TclGetString(objv[1]), - " ?options? source ?source ...? target\"", NULL); + " ?-option value ...? source ?source ...? target\"", NULL); return TCL_ERROR; } @@ -354,7 +354,7 @@ TclFileDeleteCmd( if ((objc - i) < 1) { Tcl_AppendResult(interp, "wrong # args: should be \"", TclGetString(objv[0]), " ", TclGetString(objv[1]), - " ?options? file ?file ...?\"", NULL); + " ?-option value ...? file ?file ...?\"", NULL); return TCL_ERROR; } @@ -955,7 +955,7 @@ TclFileAttrsCmd( if (objc < 3) { Tcl_WrongNumArgs(interp, 2, objv, - "name ?option? ?value? ?option value ...?"); + "name ?-option value ...?"); return TCL_ERROR; } |