diff options
-rw-r--r-- | python/samba/netcmd/dbcheck.py | 2 | ||||
-rw-r--r-- | python/samba/netcmd/domain.py | 14 | ||||
-rw-r--r-- | python/samba/netcmd/drs.py | 2 | ||||
-rw-r--r-- | python/samba/netcmd/ntacl.py | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/python/samba/netcmd/dbcheck.py b/python/samba/netcmd/dbcheck.py index aec45d26824..210d4a26a1d 100644 --- a/python/samba/netcmd/dbcheck.py +++ b/python/samba/netcmd/dbcheck.py @@ -66,7 +66,7 @@ class cmd_dbcheck(Command): help="cross naming context boundaries"), Option("-v", "--verbose", dest="verbose", action="store_true", default=False, help="Print more details of checking"), - Option("--quiet", dest="quiet", action="store_true", default=False, + Option("-q", "--quiet", action="store_true", default=False, help="don't print details of checking"), Option("--attrs", dest="attrs", default=None, help="list of attributes to check (space separated)"), Option("--reindex", dest="reindex", default=False, action="store_true", help="force database re-index"), diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 9815a86b4fc..5438537ab1d 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -119,7 +119,7 @@ common_provision_join_options = [ "(default is %s)" % get_default_backend_store()), Option("--targetdir", metavar="DIR", help="Set target directory (where to store provision)", type=str), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), ] common_join_options = [ @@ -751,7 +751,7 @@ class cmd_domain_demote(Command): metavar="URL", dest="H"), Option("--remove-other-dead-server", help="Dead DC (name or NTDS GUID) " "to remove ALL references to (rather than this DC)", type=str), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), Option("-v", "--verbose", help="Be verbose", action="store_true"), ] @@ -1045,7 +1045,7 @@ class cmd_domain_level(Command): takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, metavar="URL", dest="H"), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), # unused Option("--forest-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2"], help="The forest function level (2003 | 2008 | 2008_R2 | 2012 | 2012_R2)"), Option("--domain-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2"], @@ -1352,7 +1352,7 @@ class cmd_domain_passwordsettings_set(Command): takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, metavar="URL", dest="H"), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), # unused Option("--complexity", type="choice", choices=["on","off","default"], help="The password complexity (on | off | default). Default is 'on'"), Option("--store-plaintext", type="choice", choices=["on","off","default"], @@ -1557,7 +1557,7 @@ class cmd_domain_classicupgrade(Command): help="Path to samba classic DC testparm utility from the previous installation. This allows the default paths of the previous installation to be followed"), Option("--targetdir", type="string", metavar="DIR", help="Path prefix where the new Samba 4.0 AD domain should be initialised"), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), Option("-v", "--verbose", help="Be verbose", action="store_true"), Option("--dns-backend", type="choice", metavar="NAMESERVER-BACKEND", choices=["SAMBA_INTERNAL", "BIND9_FLATFILE", "BIND9_DLZ", "NONE"], @@ -3969,7 +3969,7 @@ class cmd_domain_schema_upgrade(Command): takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, metavar="URL", dest="H"), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), #unused Option("-v", "--verbose", help="Be verbose", action="store_true"), Option("--schema", type="choice", metavar="SCHEMA", choices=["2012", "2012_R2"], @@ -4219,7 +4219,7 @@ class cmd_domain_functional_prep(Command): takes_options = [ Option("-H", "--URL", help="LDB URL for database or target server", type=str, metavar="URL", dest="H"), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), Option("-v", "--verbose", help="Be verbose", action="store_true"), Option("--function-level", type="choice", metavar="FUNCTION_LEVEL", choices=["2008_R2", "2012", "2012_R2"], diff --git a/python/samba/netcmd/drs.py b/python/samba/netcmd/drs.py index 21cd1c2ac24..f852fa17a55 100644 --- a/python/samba/netcmd/drs.py +++ b/python/samba/netcmd/drs.py @@ -647,7 +647,7 @@ class cmd_drs_clone_dc_database(Command): takes_options = [ Option("--server", help="DC to join", type=str), Option("--targetdir", help="where to store provision (required)", type=str), - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), Option("--include-secrets", help="Also replicate secret values", action="store_true"), Option("-v", "--verbose", help="Be verbose", action="store_true") ] diff --git a/python/samba/netcmd/ntacl.py b/python/samba/netcmd/ntacl.py index 5aeb667d8fb..5905db622c1 100644 --- a/python/samba/netcmd/ntacl.py +++ b/python/samba/netcmd/ntacl.py @@ -51,7 +51,7 @@ class cmd_ntacl_set(Command): } takes_options = [ - Option("--quiet", help="Be quiet", action="store_true"), + Option("-q", "--quiet", help="Be quiet", action="store_true"), Option("--xattr-backend", type="choice", help="xattr backend type (native fs or tdb)", choices=["native","tdb"]), Option("--eadb-file", help="Name of the tdb file where attributes are stored", type="string"), |