summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 11:18:48 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 11:18:48 -0800
commite989bbf2b6d71c6ce9f9bb438f31097110fff1d6 (patch)
treecb097dce3646903b95afb04c84cf9cf5d32358f9 /mbld
parent8526055dff6cd1c350da84f97de89efa75606ec7 (diff)
downloadmc-e989bbf2b6d71c6ce9f9bb438f31097110fff1d6.tar.gz
Add benchmark build tag to benchmarks.
We don't need them built by default.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/main.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 9ca1426..1f6b8c3 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -26,8 +26,8 @@ const main = {args : byte[:][:]
cmd = std.optparse(args, &[
.argdesc = "[inputs...]",
.opts = [
- [.opt='t', .desc="list all available targets"],
- [.opt='T', .arg="tag", .desc="build with specified systag"],
+ [.opt='T', .desc="list all available targets"],
+ [.opt='t', .arg="tag", .desc="build with specified systag"],
[.opt='S', .desc="generate assembly when building"],
[.opt='d', .desc="dump debugging information for mbld"],
[.opt='I', .arg="inc", .desc="add 'inc' to your include path"],
@@ -45,11 +45,11 @@ const main = {args : byte[:][:]
bld.initopts()
for opt in cmd.opts
match opt
- | ('t', ""): dumponly = true
+ | ('T', ""): dumponly = true
| ('S', ""): bld.opt_genasm = true
| ('I', arg): bld.opt_incpaths = std.slpush(bld.opt_incpaths, arg)
| ('R', arg): bld.opt_instroot = arg
- | ('T', tag): tags = std.slpush(tags, tag)
+ | ('t', tag): tags = std.slpush(tags, tag)
| ('b', arg):
targname = arg
bintarg = true