'tar --help' wasn't working. Fixed it.

-Erik
This commit is contained in:
Eric Andersen 2000-06-21 18:37:36 +00:00
parent c03525475e
commit b405dfa54d
2 changed files with 6 additions and 0 deletions

View File

@ -246,6 +246,9 @@ extern int tar_main(int argc, char **argv)
break;
}
#endif
if (strcmp(*argv, "-help")==0) {
usage(tar_usage);
}
break;
default:

3
tar.c
View File

@ -246,6 +246,9 @@ extern int tar_main(int argc, char **argv)
break;
}
#endif
if (strcmp(*argv, "-help")==0) {
usage(tar_usage);
}
break;
default: