aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /tar.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)