diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | doc/info.n | 11 |
2 files changed, 9 insertions, 5 deletions
@@ -1,5 +1,8 @@ 2008-10-02 Andreas Kupries <andreask@activestate.com> + * doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation + of 'info frame' for positive numbers as level argument. + * tests/info.test (info-22.8): Fixed [SF Bug 2129828]. Made pattern for file containing tcltest less specific to accept both .tcl and .tm variants of the file during matching. @@ -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: info.n,v 1.29 2008/10/02 19:01:30 mistachkin Exp $ +'\" RCS: @(#) $Id: info.n,v 1.30 2008/10/02 23:03:58 andreas_kupries Exp $ '\" .so man.macros .TH info n 8.4 Tcl "Tcl Built-In Commands" @@ -104,10 +104,11 @@ information for the command at the \fInumber\fRed level on the stack. .RS .PP If \fInumber\fR is positive (> 0) then it selects a particular stack -level (1 refers to the top-most active command, i.e., \fBinfo frame\fR -itself, 2 to the command it was called from, and so on); otherwise it -gives a level relative to the current command (0 refers to the current -command, i.e., \fBinfo frame\fR itself, -1 to its caller, and so on). +level (1 refers to the outer-most active command, 2 to the command it +called, and so on, up to the current frame level which refers to +\fBinfo frame\fR itself); otherwise it gives a level relative to the +current command (0 refers to the current command, i.e., \fBinfo +frame\fR itself, -1 to its caller, and so on). .PP This is similar to how \fBinfo level\fR works, except that this subcommand reports all frames, like \fBsource\fRd scripts, |