git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fb9d0
)
python/samba/netcmd: provide SUPPRESS_HELP via Option class
author
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Mar 2019 09:25:40 +0000
(10:25 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 2 Apr 2019 09:10:53 +0000
(09:10 +0000)
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
)
python/samba/netcmd/__init__.py
patch
|
blob
|
history
diff --git
a/python/samba/netcmd/__init__.py
b/python/samba/netcmd/__init__.py
index cb22b5dc1b0b2420a5a872113e7ac2857c0614d1..54e9107005a10ab985e7a974965a4068ce5421b0 100644
(file)
--- 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