2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 11:51:20 +01:00

print_usage is useless - override with print_help

This commit is contained in:
Thomas Nagy 2014-08-10 21:38:08 +02:00
parent 32d2f0e1da
commit 679b2850d7
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -55,6 +55,9 @@ class opt_parser(optparse.OptionParser):
self.formatter.width = Logs.get_term_cols()
self.ctx = ctx
def print_usage(self, file=None):
return self.print_help(file)
def get_usage(self):
"""
Return the message to print on ``waf --help``