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:
parent
32d2f0e1da
commit
679b2850d7
@ -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``
|
||||
|
Loading…
Reference in New Issue
Block a user