summaryrefslogtreecommitdiffstats
path: root/doc/tcltest.n
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
committernijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
commitad35d9b5b7a3de682d371c0bb686815f1c5e849e (patch)
treeaacaf7cde84808f89893f7542a9a079c3e8603b1 /doc/tcltest.n
parent28f4419947aa4b448501687014bb415dc7096511 (diff)
downloadtcl-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 'doc/tcltest.n')
-rw-r--r--doc/tcltest.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/tcltest.n b/doc/tcltest.n
index 65245bf..88320cc 100644
--- a/doc/tcltest.n
+++ b/doc/tcltest.n
@@ -8,7 +8,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tcltest.n,v 1.55 2007/12/13 15:22:33 dgp Exp $
+'\" RCS: @(#) $Id: tcltest.n,v 1.56 2008/07/13 23:15:23 nijtmans Exp $
'\"
.so man.macros
.TH "tcltest" n 2.3 tcltest "Tcl Bundled Packages"
@@ -20,7 +20,7 @@ tcltest \- Test harness support code and utilities
.nf
\fBpackage require tcltest ?2.3?\fR
.sp
-\fBtcltest::test \fIname description ?option value ...?\fR
+\fBtcltest::test \fIname description ?-option value ...?\fR
\fBtcltest::test \fIname description ?constraints? body result\fR
.sp
\fBtcltest::loadTestedCommands\fR
@@ -34,7 +34,7 @@ tcltest \- Test harness support code and utilities
.sp
\fBtcltest::configure\fR
\fBtcltest::configure \fIoption\fR
-\fBtcltest::configure \fIoption value ?option value ...?\fR
+\fBtcltest::configure \fIoption value ?-option value ...?\fR
\fBtcltest::customMatch \fImode command\fR
\fBtcltest::testConstraint \fIconstraint ?value?\fR
\fBtcltest::outputChannel \fI?channelID?\fR
@@ -92,7 +92,7 @@ of how to use the commands of \fBtcltest\fR to produce test suites
for your Tcl-enabled code.
.SH COMMANDS
.TP
-\fBtest\fR \fIname description ?option value ...?\fR
+\fBtest\fR \fIname description ?-option value ...?\fR
Defines and possibly runs a test with the name \fIname\fR and
description \fIdescription\fR. The name and description of a test
are used in messages reported by \fBtest\fR during the
@@ -211,7 +211,7 @@ their valid values, and their effect on \fBtcltest\fR operations.
Returns the current value of the supported configurable option \fIoption\fR.
Raises an error if \fIoption\fR is not a supported configurable option.
.TP
-\fBconfigure \fIoption value ?option value ...?\fR
+\fBconfigure \fIoption value ?-option value ...?\fR
Sets the value of each configurable option \fIoption\fR to the
corresponding value \fIvalue\fR, in order. Raises an error if
an \fIoption\fR is not a supported configurable option, or if