summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko2018-03-16 04:02:23 +0100
committerDenys Vlasenko2018-03-16 04:02:23 +0100
commit3c08437db7b1d57224536d6433307f49180c9960 (patch)
treed0247f997baff11ad6408067db4562b8a2a18648 /archival
parent1ee222e1bf28cad5ff97c59dc6c00fcdf74cbdf9 (diff)
downloadbusybox-3c08437db7b1d57224536d6433307f49180c9960.zip
busybox-3c08437db7b1d57224536d6433307f49180c9960.tar.gz
tar: add -o and -k to short --help too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 4515d42..224cb47 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -759,7 +759,7 @@ static llist_t *append_file_list_to_list(llist_t *list)
//usage: IF_FEATURE_SEAMLESS_LZMA("a")
//usage: IF_FEATURE_TAR_CREATE("h")
//usage: IF_FEATURE_TAR_NOPRESERVE_TIME("m")
-//usage: "vO] "
+//usage: "vokO] "
//usage: "[-f TARFILE] [-C DIR] "
//usage: IF_FEATURE_TAR_FROM("[-T FILE] [-X FILE] "IF_FEATURE_TAR_LONG_OPTIONS("[--exclude PATTERN]... "))
//usage: "[FILE]..."
@@ -776,6 +776,10 @@ static llist_t *append_file_list_to_list(llist_t *list)
//usage: "\n -f FILE Name of TARFILE ('-' for stdin/out)"
//usage: "\n -C DIR Change to DIR before operation"
//usage: "\n -v Verbose"
+//usage: "\n -O Extract to stdout"
+//usage: IF_FEATURE_TAR_NOPRESERVE_TIME(
+//usage: "\n -m Don't restore mtime"
+//usage: )
//usage: "\n -o Don't restore user:group"
///////:-p - accepted but ignored, restores mode (aliases in GNU tar: --preserve-permissions, --same-permissions)
//usage: "\n -k Don't replace existing files"
@@ -794,13 +798,9 @@ static llist_t *append_file_list_to_list(llist_t *list)
//usage: IF_FEATURE_SEAMLESS_LZMA(
//usage: "\n -a (De)compress using lzma"
//usage: )
-//usage: "\n -O Extract to stdout"
//usage: IF_FEATURE_TAR_CREATE(
//usage: "\n -h Follow symlinks"
//usage: )
-//usage: IF_FEATURE_TAR_NOPRESERVE_TIME(
-//usage: "\n -m Don't restore mtime"
-//usage: )
//usage: IF_FEATURE_TAR_FROM(
//usage: "\n -T FILE File with names to include"
//usage: "\n -X FILE File with glob patterns to exclude"