[124098] branches/gsoc14-interactive/base/src/port/port.tcl

shasha at macports.org shasha at macports.org
Mon Aug 18 14:25:49 PDT 2014


Revision: 124098
          https://trac.macports.org/changeset/124098
Author:   shasha at macports.org
Date:     2014-08-18 14:25:48 -0700 (Mon, 18 Aug 2014)
Log Message:
-----------
added more comments explaining the procs

Modified Paths:
--------------
    branches/gsoc14-interactive/base/src/port/port.tcl

Modified: branches/gsoc14-interactive/base/src/port/port.tcl
===================================================================
--- branches/gsoc14-interactive/base/src/port/port.tcl	2014-08-18 21:24:47 UTC (rev 124097)
+++ branches/gsoc14-interactive/base/src/port/port.tcl	2014-08-18 21:25:48 UTC (rev 124098)
@@ -5307,7 +5307,7 @@
 	}
 	
 	##
-	# Main function that displays the choices for a multiple choice question.
+	# Main function that displays numbered choices for a multiple choice question.
 	#
 	# @param msg
 	#        The question specific message that is to be printed before asking the question.
@@ -5329,7 +5329,9 @@
 	}
 	
 	##
-	# Display a question that asks the user for yes/no as an answer.
+	# Displays a question with 'yes' and 'no' as options. 
+	# Waits for user input indefinitely unless a timeout is specified.
+	# Shows the list of port passed to it without any numbers.
 	#
 	# @param msg
 	#        The question specific message that is to be printed before asking the question.
@@ -5399,7 +5401,8 @@
 	}
 	
 	##
-	# Display a question that asks the user for a single choice as an answer.
+	# Displays a question with a list of numbered choices and asks the user to enter a number to specify their choice.
+	# Waits for user input indefinitely.
 	#
 	# @param msg
 	#        The question specific message that is to be printed before asking the question.
@@ -5428,7 +5431,8 @@
 	}
 	
 	##
-	# Display a question that asks the user for multiple choices as answer.
+	# Displays a question with a list of numbered choices and asks the user to enter a space separated string of numbers to specify their choice.
+	# Waits for user input indefinitely.
 	#
 	# @param msg
 	#        The question specific message that is to be printed before asking the question.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140818/0ce47fa3/attachment.html>


More information about the macports-changes mailing list