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)]) @