]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool dns cleanup_record: add missing verbose/quiet options
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 19 Apr 2018 04:43:50 +0000 (16:43 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2018 23:57:16 +0000 (01:57 +0200)
The code for using them is already there

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/dns.py

index a0e92cf8dd9090cb18ba48062d490cd1124b17ce..ab6bacc6050b6724e4c5434bdd2d339b07d0c277 100644 (file)
@@ -1095,6 +1095,11 @@ class cmd_cleanup_record(Command):
         "credopts": options.CredentialsOptions,
     }
 
+    takes_options = [
+        Option("-v", "--verbose", help="Be verbose", action="store_true"),
+        Option("-q", "--quiet", help="Be quiet", action="store_true"),
+    ]
+
     def run(self, server, dnshostname, sambaopts=None, credopts=None,
             versionopts=None, verbose=False, quiet=False):
         lp = sambaopts.get_loadparm()