summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-09-06 13:12:36 -0400
committerAndrew Bartlett <abartlet@samba.org>2011-09-09 15:24:03 +1000
commit87a6102c62f2b726b8ecda72e68643eeac479c7d (patch)
tree93ba63e3034f01c299ae783aeb5a09d9bcadd0f8 /source4
parent4bf1bcfaebc5c37c3641444ffcc3b9310aca9249 (diff)
downloadsamba-87a6102c62f2b726b8ecda72e68643eeac479c7d.tar.gz
samba-87a6102c62f2b726b8ecda72e68643eeac479c7d.tar.bz2
samba-87a6102c62f2b726b8ecda72e68643eeac479c7d.zip
samba-tool: Fixed "group" subcommands syntax
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/netcmd/group.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/netcmd/group.py b/source4/scripting/python/samba/netcmd/group.py
index df8cf7c87a..5540a526c3 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] <groupname>"
+ synopsis = "%prog group add <groupname> [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 <groupname>"
+ synopsis = "%prog group delete <groupname> [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 <groupname> <listofmembers>"
+ synopsis = "%prog group addmembers <groupname> <listofmembers> [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 <groupname> <listofmembers>"
+ synopsis = "%prog group removemembers <groupname> <listofmembers> [options]"
takes_options = [
Option("-H", "--URL", help="LDB URL for database or target server", type=str,