summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-05-14 11:04:28 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-05-15 21:13:26 +0200
commit5ba0f55e9a63c035632956dfa5033233b3b83739 (patch)
treedb82d3f12cd4c84b8797d7a3d6aaff16d541866b /python
parent18aa6541c980d8a1be254422940a8d40ae5294cd (diff)
downloadsamba-5ba0f55e9a63c035632956dfa5033233b3b83739.tar.gz
samba-5ba0f55e9a63c035632956dfa5033233b3b83739.tar.bz2
samba-5ba0f55e9a63c035632956dfa5033233b3b83739.zip
samba-tool domain: Add --quiet to common options
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'python')
-rw-r--r--python/samba/netcmd/domain.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py
index 85ce236298a..e5db665a16b 100644
--- a/python/samba/netcmd/domain.py
+++ b/python/samba/netcmd/domain.py
@@ -107,7 +107,8 @@ string_version_to_constant = {
common_provision_join_options = [
Option("--targetdir", metavar="DIR",
- help="Set target directory (where to store provision)", type=str)
+ help="Set target directory (where to store provision)", type=str),
+ Option("--quiet", help="Be quiet", action="store_true"),
]
def get_testparm_var(testparm, smbconf, varname):
@@ -232,7 +233,6 @@ class cmd_domain_provision(Command):
help="choose 'nobody' user"),
Option("--users", type="string", metavar="GROUPNAME",
help="choose 'users' group"),
- Option("--quiet", help="Be quiet", action="store_true"),
Option("--blank", action="store_true",
help="do not add users or groups, just the structure"),
Option("--server-role", type="choice", metavar="ROLE",
@@ -582,7 +582,6 @@ class cmd_domain_dcpromo(Command):
"BIND9_DLZ uses samba4 AD to store zone information, "
"NONE skips the DNS setup entirely (this DC will not be a DNS server)",
default="SAMBA_INTERNAL"),
- Option("--quiet", help="Be quiet", action="store_true"),
Option("--verbose", help="Be verbose", action="store_true")
]
@@ -668,7 +667,6 @@ class cmd_domain_join(Command):
Option("--plaintext-secrets", action="store_true",
help="Store secret/sensitive values as plain text on disk" +
"(default is to encrypt secret/ensitive values)"),
- Option("--quiet", help="Be quiet", action="store_true"),
Option("--verbose", help="Be verbose", action="store_true")
]