File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -593,14 +593,16 @@ def main():
593
593
start_time = time ()
594
594
try :
595
595
bootstrap ()
596
- print ("Build completed successfully in %s" % format_build_time (time () - start_time ))
596
+ if ('-h' not in sys .argv ) and ('--help' not in sys .argv ):
597
+ print ("Build completed successfully in %s" % format_build_time (time () - start_time ))
597
598
except (SystemExit , KeyboardInterrupt ) as e :
598
599
if hasattr (e , 'code' ) and isinstance (e .code , int ):
599
600
exit_code = e .code
600
601
else :
601
602
exit_code = 1
602
603
print (e )
603
- print ("Build completed unsuccessfully in %s" % format_build_time (time () - start_time ))
604
+ if ('-h' not in sys .argv ) and ('--help' not in sys .argv ):
605
+ print ("Build completed unsuccessfully in %s" % format_build_time (time () - start_time ))
604
606
sys .exit (exit_code )
605
607
606
608
if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments