diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2012-02-17 21:24:48 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2012-02-17 21:36:56 +0100 |
commit | fa89f2756f2d56ff83a5a6646ccff759b03f900d (patch) | |
tree | 2bcba087aeed5854651da5ba06328c738916230a /source4/scripting | |
parent | 476d503d246a563c552a3ba8d7fe3230bec5914e (diff) | |
download | samba-fa89f2756f2d56ff83a5a6646ccff759b03f900d.tar.gz samba-fa89f2756f2d56ff83a5a6646ccff759b03f900d.tar.bz2 samba-fa89f2756f2d56ff83a5a6646ccff759b03f900d.zip |
s4:samba-tool fsmo * - fix missing "takes_optiongroups"
This has been reported in bug #8755.
Reviewed-by: Jelmer
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/netcmd/fsmo.py | 12 |
1 files changed, 12 insertions, 0 deletions
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"), |