From 0d478334b3e6f644f26518c31117b25134a2678a Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Tue, 19 Jan 2010 20:22:30 +0600 Subject: tar: handle -m (--touch) switch, enabled by FEATURE_TAR_NOPRESERVE_TIME function old new delta .rodata 2731 2779 +48 usage_messages 432 471 +39 tar_main 603 614 +11 tar_longopts 211 219 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 106/0) Total: 106 bytes Signed-off-by: Mikhail Gusarov Signed-off-by: Denys Vlasenko --- include/usage.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 7b85642..77b7b99 100644 --- a/include/usage.h +++ b/include/usage.h @@ -4408,7 +4408,7 @@ #define tar_trivial_usage \ "-[" IF_FEATURE_TAR_CREATE("c") IF_FEATURE_SEAMLESS_GZ("z") \ IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") \ - IF_FEATURE_SEAMLESS_Z("Z") "xtvO] " \ + IF_FEATURE_SEAMLESS_Z("Z") IF_FEATURE_TAR_NOPRESERVE_TIME("m") "xtvO] " \ IF_FEATURE_TAR_FROM("[-X FILE] ") \ "[-f TARFILE] [-C DIR] [FILE]..." #define tar_full_usage "\n\n" \ @@ -4433,6 +4433,9 @@ IF_FEATURE_SEAMLESS_Z( \ "\n Z Filter the archive through compress" \ ) \ + IF_FEATURE_TAR_NOPRESERVE_TIME( \ + "\n m Do not extract files modified time" \ + ) \ "\nFile selection:" \ "\n f Name of TARFILE or \"-\" for stdin" \ "\n O Extract to stdout" \ -- cgit v1.1