mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:samba-tool: allow 'samba-tool --version'
metze
This commit is contained in:
parent
2fce71c89a
commit
309434a773
@ -17,6 +17,8 @@
|
||||
|
||||
"""The main samba-tool command implementation."""
|
||||
|
||||
from samba import getopt as options
|
||||
|
||||
from samba.netcmd import SuperCommand
|
||||
from samba.netcmd.dbcheck import cmd_dbcheck
|
||||
from samba.netcmd.delegation import cmd_delegation
|
||||
@ -41,6 +43,10 @@ from samba.netcmd.vampire import cmd_vampire
|
||||
class cmd_sambatool(SuperCommand):
|
||||
"""Main samba administration tool."""
|
||||
|
||||
takes_optiongroups = {
|
||||
"versionopts": options.VersionOptions,
|
||||
}
|
||||
|
||||
subcommands = {}
|
||||
subcommands["dbcheck"] = cmd_dbcheck()
|
||||
subcommands["delegation"] = cmd_delegation()
|
||||
|
Loading…
Reference in New Issue
Block a user