samba-tool: add -v to drs --verbose
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 24 May 2018 05:03:22 +0000 (17:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2018 23:57:16 +0000 (01:57 +0200)
Sometimes we accept -v for --verbose, sometimes we don't. Let's be a
bit more consistent.

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

index a8c096b..21cd1c2 100644 (file)
@@ -649,7 +649,7 @@ class cmd_drs_clone_dc_database(Command):
         Option("--targetdir", help="where to store provision (required)", type=str),
         Option("--quiet", help="Be quiet", action="store_true"),
         Option("--include-secrets", help="Also replicate secret values", action="store_true"),
-        Option("--verbose", help="Be verbose", action="store_true")
+        Option("-v", "--verbose", help="Be verbose", action="store_true")
        ]
 
     takes_args = ["domain"]