summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-03-12 10:25:40 +0100
committerAndrew Bartlett <abartlet@samba.org>2019-03-14 02:12:20 +0000
commitb61d580fb7dba8ff94e9e98c958e324865cd2f1d (patch)
tree11927234a23a1c8523bc9d358543b15e3d9b542b
parenta1658b306d85452407388b91a745078c9c1f7dc7 (diff)
downloadsamba-b61d580fb7dba8ff94e9e98c958e324865cd2f1d.tar.gz
python/samba/netcmd: provide SUPPRESS_HELP via Option class
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13816 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--python/samba/netcmd/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/netcmd/__init__.py b/python/samba/netcmd/__init__.py
index cb22b5dc1b0..54e9107005a 100644
--- a/python/samba/netcmd/__init__.py
+++ b/python/samba/netcmd/__init__.py
@@ -27,6 +27,7 @@ import textwrap
class Option(optparse.Option):
+ SUPPRESS_HELP = optparse.SUPPRESS_HELP
pass
# This help formatter does text wrapping and preserves newlines