diff options
author | nijtmans <nijtmans> | 2008-07-13 23:15:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-13 23:15:21 (GMT) |
commit | ad35d9b5b7a3de682d371c0bb686815f1c5e849e (patch) | |
tree | aacaf7cde84808f89893f7542a9a079c3e8603b1 /generic/tclFCmd.c | |
parent | 28f4419947aa4b448501687014bb415dc7096511 (diff) | |
download | tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.zip tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.gz tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.bz2 |
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...?
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; } |