aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
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 353694f33..6f18dc43f 100644
--- a/tar.c
+++ b/tar.c
@@ -50,37 +50,6 @@
50#include <sys/types.h> 50#include <sys/types.h>
51#include <sys/sysmacros.h> 51#include <sys/sysmacros.h>
52 52
53
54static const char tar_usage[] =
55#ifdef BB_FEATURE_TAR_CREATE
56 "tar -[cxtvO] "
57#else
58 "tar -[xtvO] "
59#endif
60#if defined BB_FEATURE_TAR_EXCLUDE
61 "[--exclude File] "
62#endif
63 "[-f tarFile] [FILE] ...\n"
64#ifndef BB_FEATURE_TRIVIAL_HELP
65 "\nCreate, extract, or list files from a tar file. Note that\n"
66 "this version of tar treats hard links as separate files.\n\n"
67 "Main operation mode:\n"
68#ifdef BB_FEATURE_TAR_CREATE
69 "\tc\t\tcreate\n"
70#endif
71 "\tx\t\textract\n"
72 "\tt\t\tlist\n"
73 "\nFile selection:\n"
74 "\tf\t\tname of tarfile or \"-\" for stdin\n"
75 "\tO\t\textract to stdout\n"
76#if defined BB_FEATURE_TAR_EXCLUDE
77 "\t--exclude\tfile to exclude\n"
78#endif
79 "\nInformative output:\n"
80 "\tv\t\tverbosely list files processed\n"
81#endif
82 ;
83
84/* Tar file constants */ 53/* Tar file constants */
85#ifndef MAJOR 54#ifndef MAJOR
86#define MAJOR(dev) (((dev)>>8)&0xff) 55#define MAJOR(dev) (((dev)>>8)&0xff)