summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-03-06 14:45:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-03-06 14:45:03 (GMT)
commita4956f2cdf0944125654ad232ec0324068487306 (patch)
treededb3eaa49c7bac372525a7a2a096a20372917a8 /doc
parent4b28cf6cdde6e232060c86973947cd9d1246abef (diff)
downloadtcl-a4956f2cdf0944125654ad232ec0324068487306.zip
tcl-a4956f2cdf0944125654ad232ec0324068487306.tar.gz
tcl-a4956f2cdf0944125654ad232ec0324068487306.tar.bz2
Fixed two faults with [unset -nocomplain]; one with a possible overrun
of the argument array, and another with the documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/unset.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/unset.n b/doc/unset.n
index 71af4a5..ed73434 100644
--- a/doc/unset.n
+++ b/doc/unset.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: unset.n,v 1.4 2000/09/07 14:27:52 poenitz Exp $
+'\" RCS: @(#) $Id: unset.n,v 1.5 2001/03/06 14:45:03 dkf Exp $
'\"
.so man.macros
.TH unset n 8.4 Tcl "Tcl Built-In Commands"
@@ -15,7 +15,7 @@
.SH NAME
unset \- Delete variables
.SH SYNOPSIS
-\fBunset \fR?\fI\-\-\fR? ?\fI\-nocomplain\fR? ?\fIname name name ...\fR?
+\fBunset \fR?\fI\-nocomplain\fR? ?\fI\-\-\fR? ?\fIname name name ...\fR?
.BE
.SH DESCRIPTION
@@ -31,9 +31,9 @@ The \fBunset\fR command returns an empty string as result.
.VS 8.4
If \fI\-nocomplain\fR is specified as the first argument, any possible
errors are suppressed. The option may not be abbreviated, in order to
-disambiguate it from possible variable names. \fI\-\-\fR may be specified
-prior to \fI\-nocomplain\fR to prevent it from being interpreted as an
-option.
+disambiguate it from possible variable names. The option \fI\-\-\fR
+indicates the end of the options, and should be used if you wish to
+remove a variable with the same name as any of the options.
.VE 8.4
If an error occurs, any variables after the named one causing the error not
deleted. An error can occur when the named variable doesn't exist, or the