aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-26 17:34:43 +0800
committerGav Wood <i@gavwood.com>2014-05-26 17:34:43 +0800
commit34c3d06883269e0d36e228e00c68dce141750b5b (patch)
tree4357ee1d1bec0ddca10ddd89e1d13ce6a7799a94
parent8ca0ae99ac3d908e96daf84a3656adec1893fbae (diff)
downloaddexon-solidity-34c3d06883269e0d36e228e00c68dce141750b5b.tar.gz
dexon-solidity-34c3d06883269e0d36e228e00c68dce141750b5b.tar.zst
dexon-solidity-34c3d06883269e0d36e228e00c68dce141750b5b.zip
Ever more repotting.
-rw-r--r--main.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 1afc3ef6..edad99a0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -34,8 +34,12 @@ void help()
cout
<< "Usage lllc [OPTIONS] <file>" << endl
<< "Options:" << endl
- << " -h,--help Show this help message and exit." << endl
- << " -V,--version Show the version and exit." << endl;
+ << " -b,--binary Parse, compile and assemble; output byte code in binary." << endl
+ << " -x,--hex Parse, compile and assemble; output byte code in hex." << endl
+// << " -a,--assembly Only parse and compile; show assembly." << endl
+ << " -t,--parse-tree Only parse; show parse tree." << endl
+ << " -h,--help Show this help message and exit." << endl
+ << " -V,--version Show the version and exit." << endl;
exit(0);
}
@@ -61,7 +65,7 @@ int main(int argc, char** argv)
help();
else if (arg == "-b" || arg == "--binary")
mode = Binary;
- else if (arg == "-h" || arg == "--hex")
+ else if (arg == "-x" || arg == "--hex")
mode = Hex;
else if (arg == "-t" || arg == "--parse-tree")
mode = ParseTree;