diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-03-21 19:22:30 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-03-21 19:22:30 (GMT) |
commit | a2c0799d3a7e5afbaf5b1e8cc06324c123b57299 (patch) | |
tree | 5f10c96b67d9f25345d980f5e5f7dc10c91ea73a /doc/switch.n | |
parent | 1091442a83aa05518551c2974271264cb71edf90 (diff) | |
download | tcl-a2c0799d3a7e5afbaf5b1e8cc06324c123b57299.zip tcl-a2c0799d3a7e5afbaf5b1e8cc06324c123b57299.tar.gz tcl-a2c0799d3a7e5afbaf5b1e8cc06324c123b57299.tar.bz2 |
Clarified docs. [Bug 1899962]
Diffstat (limited to 'doc/switch.n')
-rw-r--r-- | doc/switch.n | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/switch.n b/doc/switch.n index 0116f62..13edde8 100644 --- a/doc/switch.n +++ b/doc/switch.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: switch.n,v 1.17 2007/12/13 15:22:33 dgp Exp $ +'\" RCS: @(#) $Id: switch.n,v 1.18 2008/03/21 19:22:31 dkf Exp $ '\" .so man.macros .TH switch n 8.5 Tcl "Tcl Built-In Commands" @@ -32,8 +32,13 @@ matches \fIstring\fR and no default is given, then the \fBswitch\fR command returns an empty string. .PP If the initial arguments to \fBswitch\fR start with \fB\-\fR then -they are treated as options. The following options are -currently supported: +they are treated as options +.VS 8.5 +unless there are exactly two arguments to \fBswitch\fR (in which case the +first must the \fIstring\fR and the second must be the +\fIpattern\fR/\fIbody\fR list). +.VE 8.5 +The following options are currently supported: .TP 10 \fB\-exact\fR Use exact matching when comparing \fIstring\fR to a pattern. This |