Browse Source

(usage): Cleaned up the sample argument to --newer
option.
(decode_options): Allow --sparse for POSIX_FORMAT archives.

Sergey Poznyakoff 21 years ago
parent
commit
f193c4c04a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/tar.c

+ 3 - 2
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)
     {