* runtest.exp: Document the magical handling of -D[01].
authorBen Elliston <bje@gnu.org>
Sun, 3 Apr 2016 10:13:03 +0000 (20:13 +1000)
committerBen Elliston <bje@gnu.org>
Sun, 3 Apr 2016 10:15:44 +0000 (20:15 +1000)
ChangeLog
runtest.exp

index eaa167f..6a4a55f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-04-03  Ben Elliston  <bje@gnu.org>
 
+       * runtest.exp: Document the magical handling of -D[01].
+
+2016-04-03  Ben Elliston  <bje@gnu.org>
+
        * doc/runtest.1: Do not document obsolete --status option. It is
        still accepted for compatibility, but does nothing.
 
index f7476c8..442ade9 100644 (file)
@@ -1059,7 +1059,6 @@ for { set i 0 } { $i < $argc } { incr i } {
 
        "--di*" {
            # Already parsed (and don't set again).  Let $DEJAGNU rename it.
-           # set cmdline_dir_to_run $optarg
            continue
        }
 
@@ -1078,6 +1077,8 @@ for { set i 0 } { $i < $argc } { incr i } {
        }
 
        "--D[01]" {                     # (-Debug) turn on Tcl debugger
+           # The runtest shell script handles this option, but it
+           # still appears in the options in the Tcl code.
            verbose "Tcl debugger is ON"
            continue
        }