]> git.marmaro.de Git - mmh/blobdiff - uip/spost.c
Update for the brave new world
[mmh] / uip / spost.c
index 7d65eadac6e374be4d0f55f9afa5c7f136b3b034..58d4ae39259c5df7fd911c3511239ca58a9b59c1 100644 (file)
@@ -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;