From dd3ebbffe85776073d95184348f89d44b6624ae2 Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Tue, 6 Sep 2011 13:35:00 -0400 Subject: samba-tool: Fixed "user" command syntax Signed-off-by: Amitay Isaacs Signed-off-by: Andrew Bartlett --- source4/scripting/python/samba/netcmd/user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/scripting') diff --git a/source4/scripting/python/samba/netcmd/user.py b/source4/scripting/python/samba/netcmd/user.py index 281f2cfdcd..278a4ff676 100644 --- a/source4/scripting/python/samba/netcmd/user.py +++ b/source4/scripting/python/samba/netcmd/user.py @@ -108,7 +108,7 @@ class cmd_user_add(Command): class cmd_user_delete(Command): """Delete a user""" - synopsis = "%prog user delete " + synopsis = "%prog user delete [options]" takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, @@ -131,6 +131,7 @@ class cmd_user_delete(Command): print("Deleted user %s" % username) + class cmd_user_enable(Command): """Enables a user""" -- cgit