From 2a60a988e745bc7eb1bec5051c1e38bfa939cb3c Mon Sep 17 00:00:00 2001
From: Mehdi Bouaziz <mbouaziz@fb.com>
Date: Tue, 13 Nov 2018 12:58:17 -0800
Subject: [PATCH] [buck] Update parameters with arguments list

Reviewed By: martinoluca

Differential Revision: D12952032

fbshipit-source-id: 27f72423a
---
 infer/src/integration/Buck.ml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/infer/src/integration/Buck.ml b/infer/src/integration/Buck.ml
index dcc07b8b1..6af820b90 100644
--- a/infer/src/integration/Buck.ml
+++ b/infer/src/integration/Buck.ml
@@ -122,7 +122,22 @@ end
 let accepted_buck_commands = ["build"]
 
 let parameters_with_argument =
-  ["--build-report"; "--config"; "-j"; "--num-threads"; "--out"; "-v"; "--verbose"]
+  [ "--buck-binary"
+  ; "--build-report"
+  ; "--build-state-file"
+  ; "-c"
+  ; "--config"
+  ; "--config-file"
+  ; "-j"
+  ; "--just-build"
+  ; "--num-threads"
+  ; "--out"
+  ; "--output-events-to-file"
+  ; "--output-test-events-to-file"
+  ; "--rulekeys-log-path"
+  ; "--target-platforms"
+  ; "-v"
+  ; "--verbose" ]
 
 
 let get_accepted_buck_kinds_pattern () =