git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1658b3
)
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
Andrew Bartlett
<abartlet@samba.org>
Thu, 14 Mar 2019 02:12:20 +0000
(
02:12
+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>
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