]> Dogcows Code - chaz/tar/commitdiff
(usage): Cleaned up the sample argument to --newer
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 1 Dec 2003 21:20:47 +0000 (21:20 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 1 Dec 2003 21:20:47 +0000 (21:20 +0000)
option.
(decode_options): Allow --sparse for POSIX_FORMAT archives.

src/tar.c

index 33616d017220acdb069e545a39efdfb3959b3ca2..a2ee37b179eea3e926ec038e42d9e52017bed048 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -481,7 +481,7 @@ Local file selection:\n\
             stdout);
 #if !MSDOS
       fputs (_("\
-  -N, --newer=DATE             only store files newer than DATE\n\
+  -N, --newer=DATE-OR-FILE     only store files newer than DATE-OR-FILE\n\
       --newer-mtime=DATE       compare date and time when data changed only\n\
       --after-date=DATE        same as -N\n"),
             stdout);
@@ -1286,7 +1286,8 @@ see the file named COPYING for details."));
       || multi_volume_option
       || sparse_option)
     assert_format (FORMAT_MASK (OLDGNU_FORMAT)
-                  | FORMAT_MASK (GNU_FORMAT));
+                  | FORMAT_MASK (GNU_FORMAT)
+                  | FORMAT_MASK (POSIX_FORMAT));
   
   if (occurrence_option)
     {
This page took 0.023173 seconds and 4 git commands to generate.