[sledge] Fix sledge llvm translate command

Summary:
Applicative command line argument interpretation fail: using map
instead of compose meant that the type of the ignored arg was the
action function.

Reviewed By: jvillard

Differential Revision: D24746226

fbshipit-source-id: f1dd67067
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 72ba7c4faa
commit 6da7dbbdd1

@ -219,7 +219,9 @@ let llvm_grp =
textual (.ll) form; or of the form @<argsfile>, where <argsfile> \
names a file containing one <input> per line."
in
let param = translate_inputs >>| fun _ () -> Report.Ok in
let param =
translate_inputs >*> Command.Param.return (fun _ -> Report.Ok)
in
command ~summary ~readme param
in
let disassemble_cmd =

Loading…
Cancel
Save