Skip to content

Commit

Permalink
samba-tool: Fixed "ntacl" subcommands syntax
Browse files Browse the repository at this point in the history
Removed options from syntax

Signed-off-by: Amitay Isaacs <[email protected]>
Signed-off-by: Andrew Bartlett <[email protected]>
  • Loading branch information
lauria authored and abartlet committed Sep 9, 2011
1 parent 87a6102 commit 4f26c52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source4/scripting/python/samba/netcmd/ntacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

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"),
Expand Down Expand Up @@ -79,7 +79,7 @@ def run(self, acl, file, quiet=False,xattr_backend=None,eadb_file=None,

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"),
Expand Down

0 comments on commit 4f26c52

Please sign in to comment.