From b7675dd2a2c2285009405cca109f984011da1ea6 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Wed, 2 Nov 2016 16:51:07 -0700 Subject: [PATCH] [config] Remove unused --absolute-paths option Reviewed By: akotulski Differential Revision: D4110727 fbshipit-source-id: 259a149 --- infer/lib/python/inferlib/analyze.py | 5 ----- infer/src/backend/infer.ml | 2 -- 2 files changed, 7 deletions(-) diff --git a/infer/lib/python/inferlib/analyze.py b/infer/lib/python/inferlib/analyze.py index 3688a4a96..3b30c700e 100644 --- a/infer/lib/python/inferlib/analyze.py +++ b/infer/lib/python/inferlib/analyze.py @@ -105,11 +105,6 @@ infer_group.add_argument('-l', '--load-average', metavar='', type=float, infer_group.add_argument('--buck', action='store_true', dest='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', metavar='') diff --git a/infer/src/backend/infer.ml b/infer/src/backend/infer.ml index 773dd0315..9dbfd87d7 100644 --- a/infer/src/backend/infer.ml +++ b/infer/src/backend/infer.ml @@ -28,8 +28,6 @@ let () = Array.of_list ( infer_py :: Config.anon_args @ - (if not Config.absolute_paths then [] else - ["--absolute-paths"]) @ (match Config.analyzer with None -> [] | Some a -> ["--analyzer"; IList.assoc (=) a (IList.map (fun (n,a) -> (a,n)) Config.string_to_analyzer)]) @