Revert "warn newer available version of the x tool"
This commit is contained in:
parent
b22c152958
commit
1a993611d2
7 changed files with 13 additions and 90 deletions
|
@ -934,7 +934,8 @@ def main():
|
|||
if len(sys.argv) > 1 and sys.argv[1] == 'help':
|
||||
sys.argv = [sys.argv[0], '-h'] + sys.argv[2:]
|
||||
|
||||
help_triggered = len(sys.argv) == 1 or any(x in ["-h", "--help", "--version"] for x in sys.argv)
|
||||
help_triggered = (
|
||||
'-h' in sys.argv) or ('--help' in sys.argv) or (len(sys.argv) == 1)
|
||||
try:
|
||||
bootstrap(help_triggered)
|
||||
if not help_triggered:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue