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:
parent
42c9e569e8
commit
f6f2efd080
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user