summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-01 11:12:38 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-01 11:12:38 -0700
commit064598d9a3291b827b1b76293fbf038710b79bba (patch)
tree20ac130045cb55a3a88904554ffba94b88014be7
parent8fb081893f7434b4acc4fba1f2d59fd331d85879 (diff)
downloadmc-064598d9a3291b827b1b76293fbf038710b79bba.tar.gz
Add back all the options.
I guess they were kind of needed.
-rw-r--r--mbld/main.myr15
1 files changed, 9 insertions, 6 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 9cc9ec4..1dea354 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -24,12 +24,15 @@ const main = {args : byte[:][:]
opts = [
.argdesc = "[inputs...]",
.opts = [
- [.opt= 'I', .arg="inc", .desc="add 'inc' to your include path"],
- [.opt= 'R', .arg="root", .desc="install into 'root'"],
- [.opt= 'b', .arg="bin", .desc="compile binary named 'bin' from inputs"],
- [.opt= 'l', .arg="lib", .desc="compile lib named 'lib' from inputs"],
- [.opt= 'r', .arg="rt", .desc="link against runtime 'rt' instead of default"],
- [.opt= 'S', .desc = "generate assembly when building"],
+ [.opt='I', .arg="inc", .desc="add 'inc' to your include path"],
+ [.opt='R', .arg="root", .desc="install into 'root'"],
+ [.opt='b', .arg="bin", .desc="compile binary named 'bin' from inputs"],
+ [.opt='l', .arg="lib", .desc="compile lib named 'lib' from inputs"],
+ [.opt='r', .arg="rt", .desc="link against runtime 'rt' instead of default"],
+ [.opt='C', .arg="mc", .desc="compile with 'mc' instead of the default compiler"],
+ [.opt='M', .arg="mu", .desc="merge uses with 'mu' instead of the default muse"],
+ [.opt='S', .desc="generate assembly when building"],
+ [.opt='d', .desc="dump debugging information for mbld"],
][:]
]
optctx = std.optinit(args, &opts)