Update help text for dbcheck
authorJonathan Hunter <jh-git@ninja.org.uk>
Mon, 19 Feb 2018 07:38:37 +0000 (07:38 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 19 Mar 2018 11:39:12 +0000 (12:39 +0100)
Update the help text for dbcheck, to make its behaviour clear (in
particular with reference to the difference between specifying "--yes"
on the command line, and answering "yes"/"all" to each individual
question)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Mar 19 12:39:12 CET 2018 on sn-devel-144

python/samba/netcmd/dbcheck.py

index 2217366cc8db3106e3e5843206abce337e0396b9..aec45d2682484665388ddf0c2018670bff719346 100644 (file)
@@ -61,7 +61,7 @@ class cmd_dbcheck(Command):
         Option("--fix", dest="fix", default=False, action='store_true',
                help='Fix any errors found'),
         Option("--yes", action='callback', callback=process_yes,
-               help="don't confirm changes, just do them all as a single transaction"),
+               help="don't confirm changes individually. Applies all as a single transaction (will not succeed if any errors are found)"),
         Option("--cross-ncs", dest="cross_ncs", default=False, action='store_true',
                help="cross naming context boundaries"),
         Option("-v", "--verbose", dest="verbose", action="store_true", default=False,