diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-03-12 10:25:40 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-28 12:19:13 +0000 |
commit | f6f2efd080b935c1b809da74518ee9b96814b2b0 (patch) | |
tree | 825951dd4620e53c30d57ac0d8bfe338ab523ac6 | |
parent | 42c9e569e81238956b68f37bd445cc6c76268230 (diff) | |
download | samba-f6f2efd080b935c1b809da74518ee9b96814b2b0.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>
(cherry picked from commit b61d580fb7dba8ff94e9e98c958e324865cd2f1d)
-rw-r--r-- | python/samba/netcmd/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/netcmd/__init__.py b/python/samba/netcmd/__init__.py index 05ecc432ea6..9dd6748447f 100644 --- a/python/samba/netcmd/__init__.py +++ b/python/samba/netcmd/__init__.py @@ -23,6 +23,7 @@ import sys, traceback import textwrap class Option(optparse.Option): + SUPPRESS_HELP = optparse.SUPPRESS_HELP pass # This help formatter does text wrapping and preserves newlines |