summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/scripting/python/samba/netcmd/testparm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/netcmd/testparm.py b/source4/scripting/python/samba/netcmd/testparm.py
index 7a0e538ca2..9b8d207d3a 100755
--- a/source4/scripting/python/samba/netcmd/testparm.py
+++ b/source4/scripting/python/samba/netcmd/testparm.py
@@ -46,6 +46,11 @@ class cmd_testparm(Command):
synopsis = ""
+ takes_optiongroups = {
+ "sambaopts" : options.SambaOptions,
+ "versionops" : options.VersionOptions
+ }
+
takes_options = [
Option("--section-name", type=str,
help="Limit testparm to a named section"),