]> git.marmaro.de Git - mmh/blobdiff - uip/popi.c
Created pluspath function to check for '+' prefix and change flag for
[mmh] / uip / popi.c
index 3a03c0a5232a2cd32902d05b4e707b312e05bc2b..f522042ef37ea9c5d83a4fcf65b73b26411cf04d 100644 (file)
@@ -191,7 +191,7 @@ main (int argc, char **argv)
            if (folder)
                adios (NULL, "only one folder at a time!");
            else
            if (folder)
                adios (NULL, "only one folder at a time!");
            else
-               folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+               folder = pluspath (cp);
        }
        else
            adios (NULL, "usage: %s [+folder] [switches]", invo_name);
        }
        else
            adios (NULL, "usage: %s [+folder] [switches]", invo_name);