[config] Do not spam log with args read from INFER_ARGS

Summary: This is just too noisy in the logs.

Reviewed By: jeremydubreil

Differential Revision: D3993872

fbshipit-source-id: 5f421e9
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent 6697ed781f
commit 19969b7180

@ -1345,10 +1345,6 @@ let post_parsing_initialization () =
let parse_args_and_return_usage_exit = let parse_args_and_return_usage_exit =
let usage_exit = let usage_exit =
CLOpt.parse ~accept_unknown:true ~config_file:inferconfig_path "INFER_ARGS" exe_usage in CLOpt.parse ~accept_unknown:true ~config_file:inferconfig_path "INFER_ARGS" exe_usage in
if !debug || (!developer_mode && not (CLOpt.current_exe = CLOpt.Print)) then
prerr_endline
((Filename.basename Sys.executable_name) ^ " got args "
^ (try Unix.getenv "INFER_ARGS" with Not_found -> "")) ;
post_parsing_initialization () ; post_parsing_initialization () ;
usage_exit usage_exit

Loading…
Cancel
Save