summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-07-15 14:20:03 -0400
committerAndrew Tridgell <tridge@samba.org>2011-07-21 11:44:29 +1000
commita10e231b3b21a69783d97170652b95c547d4a44c (patch)
tree6c888e6806bf8ec1c9c8799a8cff4704228ff7da /source4/scripting/python
parent57b796d4353d3fde7b47d4c008e9dfe136008fac (diff)
downloadsamba-a10e231b3b21a69783d97170652b95c547d4a44c.tar.gz
samba-a10e231b3b21a69783d97170652b95c547d4a44c.tar.bz2
samba-a10e231b3b21a69783d97170652b95c547d4a44c.zip
samba-tool: fixed drs commands synopsis
Added [options] as needed Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/netcmd/drs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/scripting/python/samba/netcmd/drs.py b/source4/scripting/python/samba/netcmd/drs.py
index 2cf78cce84..f9b55f47b5 100644
--- a/source4/scripting/python/samba/netcmd/drs.py
+++ b/source4/scripting/python/samba/netcmd/drs.py
@@ -93,7 +93,7 @@ def get_dsServiceName(samdb):
class cmd_drs_showrepl(Command):
"""show replication status"""
- synopsis = "%prog drs showrepl <DC>"
+ synopsis = "%prog drs showrepl <DC> [options]"
takes_args = ["DC?"]
@@ -198,7 +198,7 @@ class cmd_drs_showrepl(Command):
class cmd_drs_kcc(Command):
"""trigger knowledge consistency center run"""
- synopsis = "%prog drs kcc <DC>"
+ synopsis = "%prog drs kcc <DC> [options]"
takes_args = ["DC?"]
@@ -259,7 +259,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 <DEST_DC> <SOURCE_DC> <NC>"
+ synopsis = "%prog drs replicate <destinationDC> <sourceDC> <NC> [options]"
takes_args = ["DEST_DC", "SOURCE_DC", "NC"]
@@ -327,7 +327,7 @@ class cmd_drs_replicate(Command):
class cmd_drs_bind(Command):
"""show DRS capabilities of a server"""
- synopsis = "%prog drs bind <DC>"
+ synopsis = "%prog drs bind <DC> [options]"
takes_args = ["DC?"]
@@ -422,7 +422,7 @@ class cmd_drs_options(Command):
synopsis = ("%prog drs options <DC>"
" [--dsa-option={+|-}IS_GC | {+|-}DISABLE_INBOUND_REPL"
- " |{+|-}DISABLE_OUTBOUND_REPL | {+|-}DISABLE_NTDSCONN_XLATE]")
+ " |{+|-}DISABLE_OUTBOUND_REPL | {+|-}DISABLE_NTDSCONN_XLATE] [options]")
takes_args = ["DC?"]