From 7924b69f99223b0fdf5538ed335f42a81be838d0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 7 Apr 2018 21:04:39 +0200 Subject: tar: trim help text 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 --- 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: IF_FEATURE_TAR_CREATE( //usage: "\n c Create" //usage: ) -- cgit v1.2.3