This commit is contained in:
2007-06-08 14:01:11 +00:00
parent 88f0fff090
commit 51a9cd7399

View File

@ -61,6 +61,8 @@ static void PrintHelp()
PP "-h : [H]elp - print <this> help\n\n"); PP "-h : [H]elp - print <this> help\n\n");
PP "<taxon> name pattern bearing regular expressions\n\n"); PP "<taxon> name pattern bearing regular expressions\n\n");
PP "------------------------------------------\n"); PP "------------------------------------------\n");
PP " https://www.grenoble.prabi.fr/trac/ecoPCR/wiki");
PP "------------------------------------------\n\n");
} }
/* ----------------------------------------------- */ /* ----------------------------------------------- */
@ -103,6 +105,13 @@ int main(int argc, char **argv)
if ((argc - optind) < 1) if ((argc - optind) < 1)
errflag++; errflag++;
if (prefix == NULL)
{
prefix = getenv("ECOPCRDB");
if (prefix == NULL)
errflag++;
}
if (errflag) if (errflag)
ExitUsage(errflag); ExitUsage(errflag);