diff options
author | Ori Bernstein <ori@markovcorp.com> | 2017-03-02 17:02:52 -0800 |
---|---|---|
committer | Ori Bernstein <ori@markovcorp.com> | 2017-03-02 17:45:55 -0800 |
commit | 7e53aa3542a89d6c252b0ac21784ca8521b026d1 (patch) | |
tree | d6432cbf7e1080e324c8f795bf6b8fab619e0d35 /muse | |
parent | 9f068acd09e42ac29ca8643c13b6963d5f76a346 (diff) | |
download | mc-7e53aa3542a89d6c252b0ac21784ca8521b026d1.tar.gz |
Remove obsolete `-I` flag.
Diffstat (limited to 'muse')
-rw-r--r-- | muse/muse.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/muse/muse.c b/muse/muse.c index a0f1c55..3aac36d 100644 --- a/muse/muse.c +++ b/muse/muse.c @@ -32,7 +32,6 @@ static void usage(char *prog) 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 @@ int main(int argc, char **argv) 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 @@ int main(int argc, char **argv) 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 @@ int main(int argc, char **argv) } } - lappend(&incpaths, &nincpaths, Instroot "/lib/myr"); if (!outfile && !show) { fprintf(stderr, "output file needed when merging usefiles.\n"); exit(1); |