mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
samba-tool: Fixed "ntacl" subcommands syntax
Removed options from syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
87a6102c62
commit
4f26c52614
@ -41,7 +41,7 @@ from samba.netcmd import (
|
||||
|
||||
class cmd_ntacl_set(Command):
|
||||
"""Set ACLs on a file"""
|
||||
synopsis = "%prog set <acl> <file> [--xattr-backend=native|tdb] [--eadb-file=file] [options]"
|
||||
synopsis = "%prog set <acl> <file> [options]"
|
||||
|
||||
takes_options = [
|
||||
Option("--quiet", help="Be quiet", action="store_true"),
|
||||
@ -79,7 +79,7 @@ class cmd_ntacl_set(Command):
|
||||
|
||||
class cmd_ntacl_get(Command):
|
||||
"""Set ACLs on a file"""
|
||||
synopsis = "%prog get <file> [--as-sddl] [--xattr-backend=native|tdb] [--eadb-file=file] [options]"
|
||||
synopsis = "%prog get <file> [options]"
|
||||
|
||||
takes_options = [
|
||||
Option("--as-sddl", help="Output ACL in the SDDL format", action="store_true"),
|
||||
|
Reference in New Issue
Block a user