diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-21 12:07:17 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-13 08:22:38 +0200 |
commit | d89947ef125fe9e8837db0a9f376d068d62ae66e (patch) | |
tree | a3ffb632dd7e98dc88a9ef25fd0423af2bc4db75 /dynconfig | |
parent | 008757de43873c5c17839e29e39acc455002c689 (diff) | |
download | samba-d89947ef125fe9e8837db0a9f376d068d62ae66e.tar.gz samba-d89947ef125fe9e8837db0a9f376d068d62ae66e.tar.bz2 samba-d89947ef125fe9e8837db0a9f376d068d62ae66e.zip |
dynconfig: use an option group for the samba specific options
metze
Diffstat (limited to 'dynconfig')
-rwxr-xr-x | dynconfig/wscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dynconfig/wscript b/dynconfig/wscript index 82192342a5..6dcc362450 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) |