Fix bug in handlind -e

This commit is contained in:
James Clark 1998-02-07 05:36:23 +00:00
parent e83509516e
commit 3be0dca473

View file

@ -213,7 +213,7 @@ int main(int argc, char **argv)
outputDir = argv[i] + j + 1;
i++;
}
if (argv[i][j] == 'e') {
else if (argv[i][j] == 'e') {
if (argv[i][j + 1] == '\0') {
if (++i == argc)
usage(argv[0]);