Change command line options desciption for reanalyze and incremental-analysis

Summary:
As discussed in D16358474, the options `--reanalyze` and `--incremental-analysis` are not compatible

This diff warns about the compatibility problem in the documentation

Reviewed By: jvillard

Differential Revision: D16440482

fbshipit-source-id: ab841ace6
master
Phoebe Nichols 6 years ago committed by Facebook Github Bot
parent 7c2f1a955f
commit d84b0881ba

@ -1397,7 +1397,8 @@ INTERNAL OPTIONS
--incremental-analysis --incremental-analysis
Activates: [EXPERIMENTAL] Use incremental analysis for changed Activates: [EXPERIMENTAL] Use incremental analysis for changed
files (Conversely: --no-incremental-analysis) files. Not compatible with --reanalyze. (Conversely:
--no-incremental-analysis)
--iphoneos-target-sdk-version-path-regex-reset --iphoneos-target-sdk-version-path-regex-reset
Set --iphoneos-target-sdk-version-path-regex to the empty list. Set --iphoneos-target-sdk-version-path-regex to the empty list.
@ -1590,7 +1591,8 @@ INTERNAL OPTIONS
(clang only) (Conversely: --no-reactive-capture) (clang only) (Conversely: --no-reactive-capture)
--reanalyze --reanalyze
Activates: Rerun the analysis (Conversely: --no-reanalyze) Activates: Rerun the analysis. Not compatible with
--incremental-analysis. (Conversely: --no-reanalyze)
--report-blacklist-files-containing-reset --report-blacklist-files-containing-reset
Set --report-blacklist-files-containing to the empty list. Set --report-blacklist-files-containing to the empty list.

@ -1959,7 +1959,10 @@ and reactive_capture =
"Compile source files only when required by analyzer (clang only)" "Compile source files only when required by analyzer (clang only)"
and reanalyze = CLOpt.mk_bool ~long:"reanalyze" "Rerun the analysis" and reanalyze =
CLOpt.mk_bool ~long:"reanalyze"
"Rerun the analysis. Not compatible with $(b,--incremental-analysis)."
and relative_path_backtrack = and relative_path_backtrack =
CLOpt.mk_int ~long:"backtrack-level" ~default:0 ~meta:"int" CLOpt.mk_int ~long:"backtrack-level" ~default:0 ~meta:"int"
@ -2345,7 +2348,8 @@ and use_cost_threshold =
and incremental_analysis = and incremental_analysis =
CLOpt.mk_bool ~long:"incremental-analysis" ~default:false CLOpt.mk_bool ~long:"incremental-analysis" ~default:false
"[EXPERIMENTAL] Use incremental analysis for changed files" "[EXPERIMENTAL] Use incremental analysis for changed files. Not compatible with \
$(b,--reanalyze)."
and version = and version =

Loading…
Cancel
Save