tar: trim help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 19:04:39 +0000 (21:04 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 19:04:39 +0000 (21:04 +0200)
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@googlemail.com>
archival/tar.c

index 224cb47d1559cee4d7da7e4029e3b1563dbefb5f..a8b888fa9b21702a6af6fd9c885894e7e5ad794d 100644 (file)
@@ -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:       IF_FEATURE_TAR_CREATE(
 //usage:     "\n       c       Create"
 //usage:       )