On Sat, Jan 10, 2009 at 6:09 PM, <mohj...@svn.gobolinux.org> wrote: > Author: mohjive > Date: 2009-01-10 12:09:27 -0800 (Sat, 10 Jan 2009) > New Revision: 3815 > > Modified: > trunk/Scripts/ > trunk/Scripts/Functions/GoboLinux > trunk/Scripts/Functions/OptionParser > Log: > r...@hermes: jonas | 2009-01-10 21:03:31 +0100 > Make is possible to specify each option for a script in a configuration > file, to set a default behaviour for a script. Syntax is <downcase > scriptname>Option_<option name>, where '-' are switched to '_'. E.g. > compileOption_remove_sources=yes in Compile/Compile.conf would set > --remove-sources for Compile by default. > Added new function to OptionParser API: Set_Option <option> <value> - will > set a value to an option. > Made boolean values also accept 'y(es)' or 't(rue)', besides 'on', as true > (all other values are false).
Interesting. I might want to play with this a little bit. Thanks! Lucas _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel