]> spindle.queued.net Git - midori/commitdiff
Print defaults of enable configure options in help
authorChristian Dywan <christian@twotoasts.de>
Mon, 30 May 2011 22:18:02 +0000 (00:18 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 30 May 2011 22:18:02 +0000 (00:18 +0200)
wscript

diff --git a/wscript b/wscript
index 2f81d37da617730b800c5854c52916123c64a4fa..50ac5ca968aed65004ef7c9794d841bc8dffbd3f 100644 (file)
--- a/wscript
+++ b/wscript
@@ -330,8 +330,9 @@ def set_options (opt):
         if group == None:
             group = opt
         option_ = option.replace ('-', '_')
-        group.add_option ('--enable-' + option, action='store_true',
-            default=False, help='Enable ' + desc, dest='enable_' + option_)
+        group.add_option ('--enable-' + option, action='store_true', default=False,
+            help='Enable ' + desc + ' [Default: ' + str (not disable) + ']',
+            dest='enable_' + option_)
         group.add_option ('--disable-' + option, action='store_true',
             default=disable, help='Disable ' + desc, dest='disable_' + option_)