mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
samba-tool: Fixed "group" subcommands syntax
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
4bf1bcfaeb
commit
87a6102c62
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user