From f6f2efd080b935c1b809da74518ee9b96814b2b0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 12 Mar 2019 10:25:40 +0100 Subject: python/samba/netcmd: provide SUPPRESS_HELP via Option class BUG: https://bugzilla.samba.org/show_bug.cgi?id=13816 Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett (cherry picked from commit b61d580fb7dba8ff94e9e98c958e324865cd2f1d) --- python/samba/netcmd/__init__.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1