summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/netcmd/user.py3
1 files changed, 2 insertions, 1 deletions
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 <username>"
+ synopsis = "%prog user delete <username> [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"""