-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not print infer.py usage message on wrong arguments
Summary: On wrong arguments (or on no arguments at all), `infer` would spew the error message of `infer.py`, which makes no sense. Make the python code swallow error messages and exit with a special code on errors coming from command line parsing so that the OCaml side is in charge of printing usage messages. Reviewed By: cristianoc Differential Revision: D3731594 fbshipit-source-id: fe49cda
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters