1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

samba-tool: Don't require full prog line to be in synopsis.

This commit is contained in:
Jelmer Vernooij
2011-10-13 23:27:22 +02:00
parent b5d5945801
commit 9213f398ad
17 changed files with 80 additions and 98 deletions

View File

@ -101,7 +101,7 @@ def get_dsServiceName(samdb):
class cmd_drs_showrepl(Command):
"""show replication status"""
synopsis = "%prog drs showrepl [<DC>] [options]"
synopsis = "%prog [<DC>] [options]"
takes_args = ["DC?"]
@ -206,7 +206,7 @@ class cmd_drs_showrepl(Command):
class cmd_drs_kcc(Command):
"""trigger knowledge consistency center run"""
synopsis = "%prog drs kcc [<DC>] [options]"
synopsis = "%prog [<DC>] [options]"
takes_args = ["DC?"]
@ -269,7 +269,7 @@ def drs_local_replicate(self, SOURCE_DC, NC):
class cmd_drs_replicate(Command):
"""replicate a naming context between two DCs"""
synopsis = "%prog drs replicate <destinationDC> <sourceDC> <NC> [options]"
synopsis = "%prog <destinationDC> <sourceDC> <NC> [options]"
takes_args = ["DEST_DC", "SOURCE_DC", "NC"]
@ -344,7 +344,7 @@ class cmd_drs_replicate(Command):
class cmd_drs_bind(Command):
"""show DRS capabilities of a server"""
synopsis = "%prog drs bind [<DC>] [options]"
synopsis = "%prog [<DC>] [options]"
takes_args = ["DC?"]
@ -437,7 +437,7 @@ class cmd_drs_bind(Command):
class cmd_drs_options(Command):
"""query or change 'options' for NTDS Settings object of a domain controller"""
synopsis = ("%prog drs options [<DC>] [options]")
synopsis = "%prog [<DC>] [options]"
takes_args = ["DC?"]