samba-tool: Fixed "time" command synopsis
authorGiampaolo Lauria <lauria2@yahoo.com>
Tue, 30 Aug 2011 21:52:59 +0000 (17:52 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:02 +0000 (15:24 +1000)
"server_name" is an optional parameter
added "options" parameter

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/time.py

index 2d9e225935e61d913ac52e83d27bf3aef5f25732..4052f8a5b79bb4acda0c26dfc1daf84e1d2bcff1 100644 (file)
@@ -29,7 +29,7 @@ from samba.netcmd import (
 
 class cmd_time(Command):
     """Retrieve the time on a remote server *"""
-    synopsis = "%prog time <server-name>"
+    synopsis = "%prog time [server-name] [options]"
 
     takes_args = ["server_name?"]