Revert "samba-tool: moved takes_optiongroups definition to Command base class"
[ira/wip.git] / source4 / scripting / python / samba / netcmd / fsmo.py
index 4449a306a9a46805fafa3f2f02cf44688556ab6d..958e5b8719b85828b629363c02db66bf67ae3e84 100644 (file)
@@ -4,7 +4,6 @@
 #
 # Copyright Nadezhda Ivanova 2009
 # Copyright Jelmer Vernooij 2009
-# Copyright Giampaolo Lauria 2011 <lauria2@yahoo.com>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -39,6 +38,12 @@ class cmd_fsmo_seize(Command):
 
     synopsis = "%prog [options]"
 
+    takes_optiongroups = {
+        "sambaopts": options.SambaOptions,
+        "credopts": options.CredentialsOptions,
+        "versionopts": options.VersionOptions,
+        }
+
     takes_options = [
         Option("-H", "--URL", help="LDB URL for database or target server", type=str,
                metavar="URL", dest="H"),