samba-tool: --help test, ensuring help tree coverage
commitcef83c0cc60359935fc4fa5db60cdc825bd3fa25
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 18 Dec 2017 03:54:07 +0000 (18 16:54 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Dec 2017 02:30:12 +0000 (22 03:30 +0100)
treeb47b4999724346c6f228d62b733a31eb9f2bc79c
parentabcc95520102e40d836c60f389bc4fb6110223ec
samba-tool: --help test, ensuring help tree coverage

`samba-tool [COMMAND] --help` will list sub-commands of COMMAND
(or top-level commands if COMMAND is omitted). This ensures that
`samba-tool COMMAND SUBCOMMAND --help` works for all the commands
found in the help tree.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/help.py [new file with mode: 0644]
source4/selftest/tests.py