From 6f33fa408986d44b8383553a76d7c365e8392f35 Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Fri, 5 May 2017 16:50:10 -0700 Subject: [PATCH] [cli] parse classpath from argfiles Reviewed By: jeremydubreil Differential Revision: D5015504 fbshipit-source-id: 02bbf2b --- infer/src/base/CommandLineOption.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/base/CommandLineOption.ml b/infer/src/base/CommandLineOption.ml index 7c8feb241..83369fb7b 100644 --- a/infer/src/base/CommandLineOption.ml +++ b/infer/src/base/CommandLineOption.ml @@ -793,7 +793,7 @@ let parse_args ~usage ?parse_all action args0 = (* for now, we only need to parse -d. we could parse more if we wanted to, but we would risk incurring the wrath of ARGUMENT_LIST_TOO_LONG *) let should_parse = - String.is_prefix ~prefix:"-d" in + String.is_prefix ~prefix:"-" in let fname = String.slice arg 1 (String.length arg) in match In_channel.read_lines fname with | lines ->