From a10e231b3b21a69783d97170652b95c547d4a44c Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Fri, 15 Jul 2011 14:20:03 -0400 Subject: samba-tool: fixed drs commands synopsis Added [options] as needed Signed-off-by: Andrew Tridgell --- source4/scripting/python/samba/netcmd/drs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/scripting/python') 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 " + synopsis = "%prog drs showrepl [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 " + synopsis = "%prog drs kcc [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 " + synopsis = "%prog drs replicate [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 " + synopsis = "%prog drs bind [options]" takes_args = ["DC?"] @@ -422,7 +422,7 @@ class cmd_drs_options(Command): synopsis = ("%prog drs options " " [--dsa-option={+|-}IS_GC | {+|-}DISABLE_INBOUND_REPL" - " |{+|-}DISABLE_OUTBOUND_REPL | {+|-}DISABLE_NTDSCONN_XLATE]") + " |{+|-}DISABLE_OUTBOUND_REPL | {+|-}DISABLE_NTDSCONN_XLATE] [options]") takes_args = ["DC?"] -- cgit