[Xfce4-commits] <midori:master> Print defaults of enable configure options in help
Christian Dywan
noreply at xfce.org
Tue May 31 00:20:03 CEST 2011
Updating branch refs/heads/master
to 84c5e0851540f3ae30dc049e01c209b7c04e0b03 (commit)
from b8cbfe2fce661b727d50925fba096a7a52615098 (commit)
commit 84c5e0851540f3ae30dc049e01c209b7c04e0b03
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue May 31 00:18:02 2011 +0200
Print defaults of enable configure options in help
wscript | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wscript b/wscript
index 2f81d37..50ac5ca 100644
--- 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_)
More information about the Xfce4-commits
mailing list