shithub: mc

Download patch

ref: 4bbf79843d318582ae08b2e2d656a0dd1217fe42
parent: f59920b9d0a977ddb735bf792c11ac44da46d93c
author: Ori Bernstein <[email protected]>
date: Fri May 1 07:12:38 EDT 2015

Add back all the options.

    I guess they were kind of needed.

--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -24,12 +24,15 @@
 	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)