samba-tool: Fixed "ntacl" subcommands syntax
authorGiampaolo Lauria <lauria2@yahoo.com>
Tue, 6 Sep 2011 17:15:25 +0000 (13:15 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:03 +0000 (15:24 +1000)
Removed options from syntax

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/ntacl.py

index 1335644c79eff61ecd3429ae584e7555d9013e70..d93835bda12c8df2cc704a16f0ec4b351b498d5a 100644 (file)
@@ -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"),