1
0
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:
Jelmer Vernooij
2011-10-13 23:27:22 +02:00
parent b5d5945801
commit 9213f398ad
17 changed files with 80 additions and 98 deletions

View File

@ -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"),