mirror of
https://github.com/samba-team/samba.git
synced 2025-07-21 12:59:09 +03:00
samba-tool: Don't require full prog line to be in synopsis.
This commit is contained in:
@ -41,7 +41,7 @@ from samba.netcmd import (
|
||||
|
||||
class cmd_ntacl_set(Command):
|
||||
"""Set ACLs on a file"""
|
||||
synopsis = "%prog set <acl> <file> [options]"
|
||||
synopsis = "%prog <acl> <file> [options]"
|
||||
|
||||
takes_options = [
|
||||
Option("--quiet", help="Be quiet", action="store_true"),
|
||||
@ -77,7 +77,7 @@ class cmd_ntacl_set(Command):
|
||||
|
||||
class cmd_ntacl_get(Command):
|
||||
"""Set ACLs on a file"""
|
||||
synopsis = "%prog get <file> [options]"
|
||||
synopsis = "%prog <file> [options]"
|
||||
|
||||
takes_options = [
|
||||
Option("--as-sddl", help="Output ACL in the SDDL format", action="store_true"),
|
||||
|
Reference in New Issue
Block a user