[146650] trunk/base/src/port/port.tcl

ijackson at macports.org ijackson at macports.org
Mon Mar 14 17:03:04 PDT 2016


Revision: 146650
          https://trac.macports.org/changeset/146650
Author:   ijackson at macports.org
Date:     2016-03-14 17:03:03 -0700 (Mon, 14 Mar 2016)
Log Message:
-----------
Add Documentation for the new argument added to ask_ui_yesno

Fix argument name in comments. Add comments for new argument
'question' added to proc ask_ui_yesno in r146639.

Revision Links:
--------------
    https://trac.macports.org/changeset/146639

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2016-03-14 21:55:59 UTC (rev 146649)
+++ trunk/base/src/port/port.tcl	2016-03-15 00:03:03 UTC (rev 146650)
@@ -5397,8 +5397,10 @@
 	#        The port/list of ports for which the question is being asked.
 	# @param def
 	#        The default answer to the question.
-	# @param time
+	# @param timeout
 	# 		 The amount of time for which a timeout is to occur.
+	# @param question
+	#        Custom question message. Defaults to "Continue?".
 	proc ui_ask_yesno {msg name ports def {timeout 0} {question "Continue?"}} {
 		# Set number default to the given letter default
 		if {$def == {y}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160314/5a2611a3/attachment.html>


More information about the macports-changes mailing list