From 84c5e0851540f3ae30dc049e01c209b7c04e0b03 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 31 May 2011 00:18:02 +0200 Subject: [PATCH] Print defaults of enable configure options in help --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 2f81d37d..50ac5ca9 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_) -- 2.39.5