s3:smbcontrol: avoid printing NULL help strings
commit560c3abf453597794e5ddf3782bc05d8ba4e5299
authorDavid Disseldorp <ddiss@samba.org>
Sun, 8 Sep 2019 13:08:54 +0000 (8 15:08 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 9 Sep 2019 10:32:53 +0000 (9 10:32 +0000)
treec721e105d45b8770ff536010fc1f6b47a5dcfa8a
parent3bd68261eca398895c419284db6515fd6f393f0f
s3:smbcontrol: avoid printing NULL help strings

Some smbcontrol commands leave the .help pointer NULL, resulting in the
following usage text:
        disconnect-dc                 (null)
        notify-cleanup                (null)
...
        msg-cleanup                   (null)

Improve this by printing an empty string instead.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Sep  9 10:32:53 UTC 2019 on sn-devel-184
source3/utils/smbcontrol.c