python: netcmd: SUPPRESS_HELP constant has no effect here
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 5 Oct 2023 02:18:32 +0000 (15:18 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2023 23:31:29 +0000 (23:31 +0000)
commit32032937ed905d5f5b9ac8ba94381e7cb03f443c
tree1c20c8ca7d2959ebaa31d88c972624432d307d3c
parenta930456f0c9043ddfed216c0726046fb1ff8da43
python: netcmd: SUPPRESS_HELP constant has no effect here

Where it is used, on a few options, the constant should be used
directly instead.

This means that in the following commit, the Option subclass of
SambaOption can be removed, as it will become redundant.

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/__init__.py
python/samba/netcmd/dbcheck.py
python/samba/netcmd/ntacl.py