1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

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)
This commit is contained in:
Stefan Metzmacher 2019-03-12 10:25:40 +01:00 committed by Karolin Seeger
parent 42c9e569e8
commit f6f2efd080

View File

@ -23,6 +23,7 @@ import sys, traceback
import textwrap import textwrap
class Option(optparse.Option): class Option(optparse.Option):
SUPPRESS_HELP = optparse.SUPPRESS_HELP
pass pass
# This help formatter does text wrapping and preserves newlines # This help formatter does text wrapping and preserves newlines