From 87a6102c62f2b726b8ecda72e68643eeac479c7d Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Tue, 6 Sep 2011 13:12:36 -0400 Subject: [PATCH] samba-tool: Fixed "group" subcommands syntax Signed-off-by: Amitay Isaacs Signed-off-by: Andrew Bartlett --- source4/scripting/python/samba/netcmd/group.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source4/scripting/python/samba/netcmd/group.py b/source4/scripting/python/samba/netcmd/group.py index df8cf7c87a5..5540a526c37 100644 --- a/source4/scripting/python/samba/netcmd/group.py +++ b/source4/scripting/python/samba/netcmd/group.py @@ -43,7 +43,7 @@ distribution_group = dict({"Domain": GTYPE_DISTRIBUTION_DOMAIN_LOCAL_GROUP, "Glo class cmd_group_add(Command): """Creates a new group""" - synopsis = "%prog group add [options] " + synopsis = "%prog group add [options]" takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, @@ -87,7 +87,7 @@ class cmd_group_add(Command): class cmd_group_delete(Command): """Delete a group""" - synopsis = "%prog group delete " + synopsis = "%prog group delete [options]" takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, @@ -113,7 +113,7 @@ class cmd_group_delete(Command): class cmd_group_add_members(Command): """Add (comma-separated list of) group members""" - synopsis = "%prog group addmembers " + synopsis = "%prog group addmembers [options]" takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, @@ -140,7 +140,7 @@ class cmd_group_add_members(Command): class cmd_group_remove_members(Command): """Remove (comma-separated list of) group members""" - synopsis = "%prog group removemembers " + synopsis = "%prog group removemembers [options]" takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, -- 2.11.4.GIT