[config] Remove unused --absolute-paths option

Reviewed By: akotulski

Differential Revision: D4110727

fbshipit-source-id: 259a149
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent a11910d535
commit b7675dd2a2

@ -105,11 +105,6 @@ infer_group.add_argument('-l', '--load-average', metavar='<float>', type=float,
infer_group.add_argument('--buck', action='store_true', dest='buck', infer_group.add_argument('--buck', action='store_true', dest='buck',
help='To use when run with buck') help='To use when run with buck')
infer_group.add_argument('--absolute-paths',
action='store_true',
default=False,
help='Report errors with absolute paths')
infer_group.add_argument('--java-jar-compiler', infer_group.add_argument('--java-jar-compiler',
metavar='<file>') metavar='<file>')

@ -28,8 +28,6 @@ let () =
Array.of_list ( Array.of_list (
infer_py :: infer_py ::
Config.anon_args @ Config.anon_args @
(if not Config.absolute_paths then [] else
["--absolute-paths"]) @
(match Config.analyzer with None -> [] | Some a -> (match Config.analyzer with None -> [] | Some a ->
["--analyzer"; ["--analyzer";
IList.assoc (=) a (IList.map (fun (n,a) -> (a,n)) Config.string_to_analyzer)]) @ IList.assoc (=) a (IList.map (fun (n,a) -> (a,n)) Config.string_to_analyzer)]) @

Loading…
Cancel
Save