fantasdic r333 - in trunk: . lib/fantasdic
- From: mblondel svn gnome org
- To: svn-commits-list gnome org
- Subject: fantasdic r333 - in trunk: . lib/fantasdic
- Date: Sat, 23 Aug 2008 10:18:05 +0000 (UTC)
Author: mblondel
Date: Sat Aug 23 10:18:05 2008
New Revision: 333
URL: http://svn.gnome.org/viewvc/fantasdic?rev=333&view=rev
Log:
* lib/fantasdic/command_line.rb: Added the -d option to enable debug mode.
Modified:
trunk/ChangeLog
trunk/lib/fantasdic/command_line.rb
Modified: trunk/lib/fantasdic/command_line.rb
==============================================================================
--- trunk/lib/fantasdic/command_line.rb (original)
+++ trunk/lib/fantasdic/command_line.rb Sat Aug 23 10:18:05 2008
@@ -62,6 +62,11 @@
puts "Fantasdic %s" % Fantasdic::VERSION
exit!
end
+
+ opts.on("-d", "--debug",
+ _("Enable debug mode")) do |b|
+ $DEBUG = b
+ end
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]