[git commit] tar: trim help text

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 7 19:04:39 UTC 2018

commit: https://git.busybox.net/busybox/commit/?id=7924b69f99223b0fdf5538ed335f42a81be838d0
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [--exclude PATTERN]... [FILE]...

Create, extract, or list files from a tar file

Operation:  <============== DELETED
    c	Create
    x	Extract
    t	List
    -f FILE	Name of TARFILE ('-' for stdin/out)
    -C DIR	Change to DIR before operation
    -v	Verbose
    -O	Extract to stdout
    -m	Don't restore mtime
    -o	Don't restore user:group
    -k	Don't replace existing files
    -Z	(De)compress using compress
    -z	(De)compress using gzip
    -J	(De)compress using xz
    -j	(De)compress using bzip2
    -a	(De)compress using lzma
    -h	Follow symlinks
    -T FILE	File with names to include
    -X FILE	File with glob patterns to exclude
    --exclude PATTERN	Glob pattern to exclude

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
 archival/tar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/archival/tar.c b/archival/tar.c
index 224cb47d1..a8b888fa9 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -766,8 +766,8 @@ static llist_t *append_file_list_to_list(llist_t *list)
 //usage:#define tar_full_usage "\n\n"
 //usage:	IF_FEATURE_TAR_CREATE("Create, extract, ")
 //usage:	IF_NOT_FEATURE_TAR_CREATE("Extract ")
-//usage:	"or list files from a tar file\n"
-//usage:     "\nOperation:"
+//usage:	"or list files from a tar file"
+//usage:     "\n"
 //usage:     "\n	c	Create"
 //usage:	)

More information about the busybox-cvs mailing list