summaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /tar.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/tar.c b/tar.c
index 353694f..6f18dc4 100644
--- a/tar.c
+++ b/tar.c
@@ -50,37 +50,6 @@
#include <sys/types.h>
#include <sys/sysmacros.h>
-
-static const char tar_usage[] =
-#ifdef BB_FEATURE_TAR_CREATE
- "tar -[cxtvO] "
-#else
- "tar -[xtvO] "
-#endif
-#if defined BB_FEATURE_TAR_EXCLUDE
- "[--exclude File] "
-#endif
- "[-f tarFile] [FILE] ...\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCreate, extract, or list files from a tar file. Note that\n"
- "this version of tar treats hard links as separate files.\n\n"
- "Main operation mode:\n"
-#ifdef BB_FEATURE_TAR_CREATE
- "\tc\t\tcreate\n"
-#endif
- "\tx\t\textract\n"
- "\tt\t\tlist\n"
- "\nFile selection:\n"
- "\tf\t\tname of tarfile or \"-\" for stdin\n"
- "\tO\t\textract to stdout\n"
-#if defined BB_FEATURE_TAR_EXCLUDE
- "\t--exclude\tfile to exclude\n"
-#endif
- "\nInformative output:\n"
- "\tv\t\tverbosely list files processed\n"
-#endif
- ;
-
/* Tar file constants */
#ifndef MAJOR
#define MAJOR(dev) (((dev)>>8)&0xff)