dynconfig: use an option group for the samba specific options
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Jun 2011 10:07:17 +0000 (12:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 13 Jul 2011 06:22:38 +0000 (08:22 +0200)
metze

dynconfig/wscript

index 82192342a5816f71af7dfd9ed9188e3264207566..6dcc3624508c5151757c3479cae41da0a6eade92 100755 (executable)
@@ -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)