| Summary: | [git-webkit] Showing help instead of raising an exception with no command | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | jbedard, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Just an overbite that this isn't the case now. Created attachment 423343 [details]
Patch
(In reply to Jonathan Bedard from comment #2) > Just an overbite that this isn't the case now. *oversite Committed r274512: <https://commits.webkit.org/r274512> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423343 [details]. |
Instead of raising an exception, show the help when there is no command specified. % ./Tools/Scripts/git-webkit Traceback (most recent call last): File "./Tools/Scripts/git-webkit", line 45, in <module> sys.exit(program.main( File "./Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 76, in main return parsed.main( AttributeError: 'Namespace' object has no attribute 'main'