diff options
author | Giampaolo Lauria <lauria2@yahoo.com> | 2011-09-06 13:35:00 -0400 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-09-09 15:24:04 +1000 |
commit | dd3ebbffe85776073d95184348f89d44b6624ae2 (patch) | |
tree | 392bec58b33f6d5bacc031ada651ed2c228290fd /source4/scripting | |
parent | 59caf70824bac98513da06932d40b238d42f3bb6 (diff) | |
download | samba-dd3ebbffe85776073d95184348f89d44b6624ae2.tar.gz samba-dd3ebbffe85776073d95184348f89d44b6624ae2.tar.bz2 samba-dd3ebbffe85776073d95184348f89d44b6624ae2.zip |
samba-tool: Fixed "user" command syntax
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/netcmd/user.py | 3 |
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""" |