From fa89f2756f2d56ff83a5a6646ccff759b03f900d Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 17 Feb 2012 21:24:48 +0100 Subject: s4:samba-tool fsmo * - fix missing "takes_optiongroups" This has been reported in bug #8755. Reviewed-by: Jelmer --- source4/scripting/python/samba/netcmd/fsmo.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/netcmd/fsmo.py b/source4/scripting/python/samba/netcmd/fsmo.py index 958e5b8719..f4e03b2af6 100644 --- a/source4/scripting/python/samba/netcmd/fsmo.py +++ b/source4/scripting/python/samba/netcmd/fsmo.py @@ -125,6 +125,12 @@ class cmd_fsmo_show(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"), @@ -182,6 +188,12 @@ class cmd_fsmo_transfer(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"), -- cgit