mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
samba-tool: Expanded acronym descriptions
Expanded command acronym descriptions Added footnote for "server connection needed" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
ef01932fdb
commit
ca30b9ff3e
@ -165,6 +165,7 @@ class SuperCommand(Command):
|
|||||||
max_length = len(max(subcmds, key=len))
|
max_length = len(max(subcmds, key=len))
|
||||||
for cmd in subcmds:
|
for cmd in subcmds:
|
||||||
print " %*s - %s" % (-max_length, cmd, self.subcommands[cmd].description)
|
print " %*s - %s" % (-max_length, cmd, self.subcommands[cmd].description)
|
||||||
|
print " * server connection needed"
|
||||||
if subcommand in [None]:
|
if subcommand in [None]:
|
||||||
raise CommandError("You must specify a subcommand")
|
raise CommandError("You must specify a subcommand")
|
||||||
if subcommand in ['help', '-h', '--help']:
|
if subcommand in ['help', '-h', '--help']:
|
||||||
|
@ -228,7 +228,7 @@ class cmd_delegation_del_service(Command):
|
|||||||
raise CommandError(err)
|
raise CommandError(err)
|
||||||
|
|
||||||
class cmd_delegation(SuperCommand):
|
class cmd_delegation(SuperCommand):
|
||||||
"""Delegation management [server connection needed]"""
|
"""Delegation management *"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["show"] = cmd_delegation_show()
|
subcommands["show"] = cmd_delegation_show()
|
||||||
|
@ -477,7 +477,7 @@ class cmd_drs_options(Command):
|
|||||||
|
|
||||||
|
|
||||||
class cmd_drs(SuperCommand):
|
class cmd_drs(SuperCommand):
|
||||||
"""DRS commands"""
|
"""Directory Replication Services (DRS) management"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["bind"] = cmd_drs_bind()
|
subcommands["bind"] = cmd_drs_bind()
|
||||||
|
@ -33,7 +33,7 @@ from samba.netcmd import (
|
|||||||
from samba.samdb import SamDB
|
from samba.samdb import SamDB
|
||||||
|
|
||||||
class cmd_fsmo(Command):
|
class cmd_fsmo(Command):
|
||||||
"""Manage flexible single master (FSMO) roles [server connection needed]"""
|
"""Flexible Single Master Operations (FSMO) roles management *"""
|
||||||
|
|
||||||
synopsis = "(show | transfer <options> | seize <options>)"
|
synopsis = "(show | transfer <options> | seize <options>)"
|
||||||
|
|
||||||
|
@ -956,7 +956,7 @@ class cmd_create(Command):
|
|||||||
|
|
||||||
|
|
||||||
class cmd_gpo(SuperCommand):
|
class cmd_gpo(SuperCommand):
|
||||||
"""Group Policy Object (GPO) commands"""
|
"""Group Policy Object (GPO) management"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["listall"] = cmd_listall()
|
subcommands["listall"] = cmd_listall()
|
||||||
|
@ -104,7 +104,7 @@ class cmd_rodc_preload(Command):
|
|||||||
|
|
||||||
|
|
||||||
class cmd_rodc(SuperCommand):
|
class cmd_rodc(SuperCommand):
|
||||||
"""RODC commands"""
|
"""Read-Only Domain Controller (RODC) management"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["preload"] = cmd_rodc_preload()
|
subcommands["preload"] = cmd_rodc_preload()
|
||||||
|
@ -192,7 +192,7 @@ class cmd_spn_delete(Command):
|
|||||||
raise CommandError("Service principal %s not affected" % name)
|
raise CommandError("Service principal %s not affected" % name)
|
||||||
|
|
||||||
class cmd_spn(SuperCommand):
|
class cmd_spn(SuperCommand):
|
||||||
"""SPN management [server connection needed]"""
|
"""Service Principal Name (SPN) management *"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["add"] = cmd_spn_add()
|
subcommands["add"] = cmd_spn_add()
|
||||||
|
@ -28,7 +28,7 @@ from samba.netcmd import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
class cmd_time(Command):
|
class cmd_time(Command):
|
||||||
"""Retrieve the time on a remote server [server connection needed]"""
|
"""Retrieve the time on a remote server *"""
|
||||||
synopsis = "%prog time <server-name>"
|
synopsis = "%prog time <server-name>"
|
||||||
|
|
||||||
takes_args = ["server_name?"]
|
takes_args = ["server_name?"]
|
||||||
|
@ -287,7 +287,7 @@ class cmd_user_setpassword(Command):
|
|||||||
|
|
||||||
|
|
||||||
class cmd_user(SuperCommand):
|
class cmd_user(SuperCommand):
|
||||||
"""User management [server connection needed]"""
|
"""User management *"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["add"] = cmd_user_add()
|
subcommands["add"] = cmd_user_add()
|
||||||
|
Reference in New Issue
Block a user