Config/value/define cli options work
Summary:
Previously, hh_single_compile_cpp would accept the following command line arguments:
`-c` for config files
`-v` for hdf style cli options
`-d` for ini style cli options
However, despite accepting these command line arguments, hh_single_compile_cpp didn't do anything with them. Instead, it just accepted them and threw them away, opting to use some default parser and hhbc options instead.
This diff changes this behavior. Now these three options are accepted and they are parsed and they actually go on to influence compilation behavior.
I'm using Hack Native's rust implementation of options parsing. I've done a preliminary sweep of options usage in the wild using zbgs to determine which variants of flags are used. I can't guarantee perfect accuracy, but good enough I think.
Reviewed By: aorenste
Differential Revision:
D33426218
fbshipit-source-id:
6c0d9a5aa993e593a533678ee9a558cf65a0bb8e