X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=fe2e34b5347ab42059151435a76f9788af00f03e;hp=ff1e80ac920b5cc9ab7e2ecab78f734633517798;hb=3e017a7abbdf69bf0dff7a4073275961eda1ded8;hpb=32d4f9daaa70519be3072479232ff7be0500d009 diff --git a/uip/spost.c b/uip/spost.c index ff1e80a..fe2e34b 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -36,8 +36,6 @@ static struct swit switches[] = { { "debug", -5 }, #define DISTSW 7 { "dist", -4 }, /* interface from dist */ -#define LIBSW 8 - { "library directory", -7 }, { NULL, 0 } }; @@ -145,9 +143,7 @@ main(int argc, char **argv) setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]); - /* foil search of user profile/context */ - if (context_foil(NULL) == -1) - done(1); + context_read(); arguments = getarguments(invo_name, argc, argv, 0); argp = arguments; @@ -197,15 +193,6 @@ main(int argc, char **argv) case NALIASW: aliasflg = 0; continue; - - case LIBSW: - if (!(cp = *argp++) || *cp == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - /* create a minimal context */ - if (context_foil(cp) == -1) - done(1); - continue; } } if (msg)