From: Eric Andersen Date: Wed, 21 Jun 2000 18:37:36 +0000 (-0000) Subject: 'tar --help' wasn't working. Fixed it. X-Git-Tag: 0_45~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b405dfa54df117201d93dcb7d24e9e9873737da6;p=oweals%2Fbusybox.git 'tar --help' wasn't working. Fixed it. -Erik --- diff --git a/archival/tar.c b/archival/tar.c index 86f996576..1b783f0f5 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -246,6 +246,9 @@ extern int tar_main(int argc, char **argv) break; } #endif + if (strcmp(*argv, "-help")==0) { + usage(tar_usage); + } break; default: diff --git a/tar.c b/tar.c index 86f996576..1b783f0f5 100644 --- a/tar.c +++ b/tar.c @@ -246,6 +246,9 @@ extern int tar_main(int argc, char **argv) break; } #endif + if (strcmp(*argv, "-help")==0) { + usage(tar_usage); + } break; default: