Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 5278] configure_optional

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 5278] configure_optional
  • Date: Wed, 31 Mar 2004 16:47:25 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=5278





------- Additional Comments From marek AT printsoft.cz 2004-03-31 16:47 -------
for your conveniency, there's now config_query_option in devel sorcery now.

#---------------------------------------------------------------------
## @param config file variable
## @param question
## @param default answer [y|n]
## @param option_yes
## @param option_no
##
## @return 0 user supplied answer
## @return 1 default answer is used
##
## Asks user for string, with default answer and timeout (like query)
## The string is added to the variable
## Return variable is also marked as persistant
## <pre>
## Example:
## config_query_option OPT "Use X ?" y "--with-x" "--without-x"
## config_query_option OPT "Use jpeg ?" y "--with-jpeg" "--do-not-use-jpeg"
## echo All selected options together: $OPT
## </pre>
##
#---------------------------------------------------------------------

Would this cover your need ?



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




Archive powered by MHonArc 2.6.24.

Top of Page