build: use option_group() not add_option_group()
authorAndrew Tridgell <tridge@samba.org>
Sun, 25 Apr 2010 02:58:52 +0000 (12:58 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 26 Apr 2010 04:36:54 +0000 (14:36 +1000)
option_group() ensures we don't end up with duplicate groups

buildtools/wafsamba/wscript

index 54802a75626d2fbc02162aa308f62f541e7337a8..0413bb4b0e2a1c1d232ac5d2157c62b4c5d743ba 100644 (file)
@@ -21,7 +21,7 @@ def set_options(opt):
 
     opt.tool_options('gnu_dirs')
 
-    gr = opt.add_option_group('library handling options')
+    gr = opt.option_group('library handling options')
 
     gr.add_option('--bundled-libraries',
                    help=("comma separated list of bundled libraries. May include !LIBNAME to disable bundling a library. Can be 'NONE' or 'ALL' [auto]"),