samba-tool: Fixed "rodc" syntax
authorGiampaolo Lauria <lauria2@yahoo.com>
Tue, 6 Sep 2011 17:25:30 +0000 (13:25 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:03 +0000 (15:24 +1000)
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>
source4/scripting/python/samba/netcmd/rodc.py

index f9e2aa911716b241195f2b5c2c49f17b9f1aa50e..67c23dcf6fc9b108d7ccdfd03c693091ee23eac4 100644 (file)
@@ -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),