forked from facebook/infer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[config] smarter handling of completely deprecated boolean options
Summary: What was happening in that case is that a .inferconfig file containing `{ "myflag": false }` used to be translated by CommandLineOption as `--no-` (`--no-<long>`), because it picked the *non-deprecated* form of the option (here `myflag` would have to be a deprecated form of the option since its non-deprecated form is empty `""`). Instead, pick a non-empty form of the option. Reviewed By: jberdine Differential Revision: D20368784 fbshipit-source-id: 8e761e684
- Loading branch information
1 parent
e5b50d7
commit 40e5a3c
Showing
2 changed files
with
49 additions
and
16 deletions.
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