Commit d82c1cbf authored by Denis Bilenko's avatar Denis Bilenko

setup.py: detect --help-commands

parent 6a929877
......@@ -229,7 +229,7 @@ def guess_libevent_major():
return result
if not sys.argv[1:] or '-h' in sys.argv or '--help' in sys.argv:
if not sys.argv[1:] or '-h' in sys.argv or '--help' in ' '.join(sys.argv):
print __doc__
else:
LIBEVENT_MAJOR = guess_libevent_major()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment