summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorEric Andersen2000-06-21 18:37:36 +0000
committerEric Andersen2000-06-21 18:37:36 +0000
commitb405dfa54df117201d93dcb7d24e9e9873737da6 (patch)
tree091d7660074fd8f5a16945ea4c11b34b000a6622 /archival
parentc03525475e0e72b8579a5fbec5571467a99c725a (diff)
downloadbusybox-b405dfa54df117201d93dcb7d24e9e9873737da6.zip
busybox-b405dfa54df117201d93dcb7d24e9e9873737da6.tar.gz
'tar --help' wasn't working. Fixed it.
-Erik
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 86f9965..1b783f0 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: