summaryrefslogtreecommitdiff
path: root/dynconfig
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-21 12:07:17 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-13 08:22:38 +0200
commitd89947ef125fe9e8837db0a9f376d068d62ae66e (patch)
treea3ffb632dd7e98dc88a9ef25fd0423af2bc4db75 /dynconfig
parent008757de43873c5c17839e29e39acc455002c689 (diff)
downloadsamba-d89947ef125fe9e8837db0a9f376d068d62ae66e.tar.gz
dynconfig: use an option group for the samba specific options
metze
Diffstat (limited to 'dynconfig')
-rwxr-xr-xdynconfig/wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/dynconfig/wscript b/dynconfig/wscript
index 82192342a58..6dcc3624508 100755
--- a/dynconfig/wscript
+++ b/dynconfig/wscript
@@ -85,14 +85,16 @@ def get_varname(v):
def set_options(opt):
# get all the basic GNU options from the gnu_dirs tool
- opt.add_option('--enable-fhs',
+ opt_group=opt.add_option_group('Samba-specific directory layout','')
+
+ opt_group.add_option('--enable-fhs',
help=("Use FHS-compliant paths (default no)"),
action="store_true", dest='ENABLE_FHS', default=False)
for option in dir_options.keys():
default = dir_options[option][0]
help = dir_options[option][1]
varname = get_varname(option)
- opt.add_option('--%s' % option,
+ opt_group.add_option('--%s' % option,
help=(help + ' [%s]' % default),
action="store", dest=varname, default=default)