From 2b5c5779f2eb63019446a69c3e2c6f871e71c3df Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Thu, 13 May 1999 01:22:54 +0000 Subject: [PATCH] Added -library switch so it can parse user aliases like post does. From Ruud de Rooij . --- uip/spost.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/uip/spost.c b/uip/spost.c index 7d65ead..58d4ae3 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -311,8 +311,15 @@ main (int argc, char **argv) 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; + case ANNOSW: - /* -library & -idanno switch ignored */ + /* -idanno switch ignored */ if (!(cp = *argp++) || *cp == '-') adios (NULL, "missing argument to %s", argp[-2]); continue; -- 1.7.10.4