summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-09-06 13:25:30 -0400
committerAndrew Bartlett <abartlet@samba.org>2011-09-09 15:24:03 +1000
commit59caf70824bac98513da06932d40b238d42f3bb6 (patch)
tree6abe76287c7e9d2e0bbe5a92b376771bf98a8aaf /source4
parent4f26c526145ff32bc7d1f9411169618eaf9673fc (diff)
downloadsamba-59caf70824bac98513da06932d40b238d42f3bb6.tar.gz
samba-59caf70824bac98513da06932d40b238d42f3bb6.tar.bz2
samba-59caf70824bac98513da06932d40b238d42f3bb6.zip
samba-tool: Fixed "rodc" syntax
Remove options from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/netcmd/rodc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/rodc.py b/source4/scripting/python/samba/netcmd/rodc.py
index f9e2aa9117..67c23dcf6f 100644
--- a/source4/scripting/python/samba/netcmd/rodc.py
+++ b/source4/scripting/python/samba/netcmd/rodc.py
@@ -28,10 +28,12 @@ from samba.dcerpc import misc, drsuapi
from samba.credentials import Credentials
from samba.drs_utils import drs_Replicate
+
+
class cmd_rodc_preload(Command):
"""Preload one account for an RODC"""
- synopsis = "%prog rodc preload <SID|DN|accountname>"
+ synopsis = "%prog rodc preload (<SID>|<DN>|<accountname>) [options]"
takes_options = [
Option("--server", help="DC to use", type=str),