ref: 7e53aa3542a89d6c252b0ac21784ca8521b026d1
parent: 9f068acd09e42ac29ca8643c13b6963d5f76a346
author: Ori Bernstein <ori@markovcorp.com>
date: Thu Mar 2 12:02:52 EST 2017
Remove obsolete `-I` flag.
--- a/muse/muse.c
+++ b/muse/muse.c
@@ -32,7 +32,6 @@
printf("%s [-hIdos] [-o outfile] [-p pkgname] [-m] inputs\n", prog);
printf("\t-h\tprint this help\n");
printf("\t\tThe outfile must be the same name as each package merged.\n");
- printf("\t-I path\tAdd 'path' to use search path\n");
printf("\t-d\tPrint debug dumps\n");
printf("\t-o out\tOutput to outfile\n");
printf("\t-s\tShow the contents of usefiles `inputs`\n");
@@ -58,7 +57,7 @@
FILE *f;
localincpath = ".";
- optinit(&ctx, "sd:hmo:p:I:l:", argv, argc);
+ optinit(&ctx, "sd:hmo:p:l:", argv, argc);
while (!optdone(&ctx)) {
switch (optnext(&ctx)) {
case 'h':
@@ -75,9 +74,6 @@
while (ctx.optarg && *ctx.optarg)
debugopt[*ctx.optarg++ & 0x7f] = 1;
break;
- case 'I':
- lappend(&incpaths, &nincpaths, ctx.optarg);
- break;
case 'l':
lappend(&extralibs, &nextralibs, ctx.optarg);
break;
@@ -88,7 +84,6 @@
}
}
- lappend(&incpaths, &nincpaths, Instroot "/lib/myr");
if (!outfile && !show) {
fprintf(stderr, "output file needed when merging usefiles.\n");
exit(1);