summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-09 02:31:57 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-09 11:53:00 +0200
commit410527f9369c44a25a5689b4665f3485c16d625a (patch)
treec0823cc0eb0f14c1fac903088c4917dc9d5e6b4d /source4/scripting
parentececb7326200d6c59fa15f7542421099d3899297 (diff)
downloadsamba-410527f9369c44a25a5689b4665f3485c16d625a.tar.gz
samba-410527f9369c44a25a5689b4665f3485c16d625a.tar.bz2
samba-410527f9369c44a25a5689b4665f3485c16d625a.zip
s4-net: 'net user create' -> 'net user add', for backwards compatibility.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/user.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/netcmd/user.py b/source4/scripting/python/samba/netcmd/user.py
index 319e8b0215..7597f462b6 100644
--- a/source4/scripting/python/samba/netcmd/user.py
+++ b/source4/scripting/python/samba/netcmd/user.py
@@ -27,9 +27,9 @@ from samba.netcmd import (
SuperCommand,
)
-class cmd_user_create(Command):
+class cmd_user_add(Command):
"""Create a new user."""
- synopsis = "%prog user create <name>"
+ synopsis = "%prog user add <name>"
takes_optiongroups = {
"sambaopts": options.SambaOptions,
@@ -69,6 +69,6 @@ class cmd_user(SuperCommand):
"""User management."""
subcommands = {}
- subcommands["create"] = cmd_user_create()
+ subcommands["add"] = cmd_user_add()
subcommands["delete"] = cmd_user_delete()