From 410527f9369c44a25a5689b4665f3485c16d625a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 9 Apr 2010 02:31:57 +0200 Subject: s4-net: 'net user create' -> 'net user add', for backwards compatibility. --- source4/scripting/python/samba/netcmd/user.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/scripting') 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 " + synopsis = "%prog user add " 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() -- cgit