Blame SOURCES/unzip-6.0-manpageandusage.patch

f7a027
diff -urNp unzip60-orig/man/zipinfo.1 unzip60/man/zipinfo.1
f7a027
--- unzip60-orig/man/zipinfo.1	2009-04-20 00:39:00.000000000 +0200
f7a027
+++ unzip60/man/zipinfo.1	2013-09-27 14:30:41.650716964 +0200
f7a027
@@ -39,10 +39,10 @@
f7a027
 zipinfo \- list detailed information about a ZIP archive
f7a027
 .PD
f7a027
 .SH SYNOPSIS
f7a027
-\fBzipinfo\fP [\fB\-12smlvhMtTz\fP] \fIfile\fP[\fI.zip\fP]
f7a027
+\fBzipinfo\fP [\fB\-12CsmlvhMtTz\fP] \fIfile\fP[\fI.zip\fP]
f7a027
 [\fIfile(s)\fP\ .\|.\|.] [\fB\-x\fP\ \fIxfile(s)\fP\ .\|.\|.]
f7a027
 .PP
f7a027
-\fBunzip\fP \fB\-Z\fP [\fB\-12smlvhMtTz\fP] \fIfile\fP[\fI.zip\fP]
f7a027
+\fBunzip\fP \fB\-Z\fP [\fB\-12CsmlvhMtTz\fP] \fIfile\fP[\fI.zip\fP]
f7a027
 [\fIfile(s)\fP\ .\|.\|.] [\fB\-x\fP\ \fIxfile(s)\fP\ .\|.\|.]
f7a027
 .PD
f7a027
 .\" =========================================================================
f7a027
@@ -112,6 +112,10 @@ list filenames only, one per line, but a
f7a027
 (\fB\-t\fP) and zipfile comments (\fB\-z\fP), as well.  This option may be
f7a027
 useful in cases where the stored filenames are particularly long.
f7a027
 .TP
f7a027
+.B \-C
f7a027
+use case\-insensitive matching for the selection of archive entries from
f7a027
+the command\-line list of extract selection patterns.
f7a027
+.TP
f7a027
 .B \-s
f7a027
 list zipfile info in short Unix ``\fCls \-l\fR'' format.  This is the default
f7a027
 behavior; see below.
f7a027
diff -urNp unzip60-orig/unzip.c unzip60/unzip.c
f7a027
--- unzip60-orig/unzip.c	2009-04-16 20:26:52.000000000 +0200
f7a027
+++ unzip60/unzip.c	2013-09-27 14:45:14.074371612 +0200
f7a027
@@ -318,8 +318,8 @@ ZipInfo %d.%d%d%s of %s, by Greg Roelofs
f7a027
 List name, date/time, attribute, size, compression method, etc., about files\n\
f7a027
 in list (excluding those in xlist) contained in the specified .zip archive(s).\
f7a027
 \n\"file[.zip]\" may be a wildcard name containing %s.\n\n\
f7a027
-   usage:  zipinfo [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]\n\
f7a027
-      or:  unzip %s-Z%s [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]\n";
f7a027
+   usage:  zipinfo [-12smlvCUhMtTz] file[.zip] [list...] [-x xlist...]\n\
f7a027
+      or:  unzip %s-Z%s [-12smlvCUhMtTz] file[.zip] [list...] [-x xlist...]\n";
f7a027
 
f7a027
 static ZCONST char Far ZipInfoUsageLine2[] = "\nmain\
f7a027
  listing-format options:             -s  short Unix \"ls -l\" format (def.)\n\
f7a027
@@ -331,6 +331,7 @@ static ZCONST char Far ZipInfoUsageLine3
f7a027
   -h  print header line       -t  print totals for listed files or for all\n\
f7a027
   -z  print zipfile comment   -T  print file times in sortable decimal format\
f7a027
 \n  -C  be case-insensitive   %s\
f7a027
+  -U  use escapes for all non-ASCII Unicode\n\
f7a027
   -x  exclude filenames that follow from listing\n";
f7a027
 #ifdef MORE
f7a027
    static ZCONST char Far ZipInfoUsageLine4[] =
f7a027
@@ -2295,6 +2296,9 @@ static void help_extended(__G)
f7a027
   "unzipsfx modifiers:",
f7a027
   "  Most unzip modifiers are supported.  These include",
f7a027
   "  -a     - Convert text files.",
f7a027
+  "  -b     - treat all files as binary (no text conversions)",
f7a027
+  "  -D     - skip restoration  of timestamps for extracted items.",
f7a027
+  "  -M     - pipe all output through an internal pager (similar to more(1)).",
f7a027
   "  -n     - Never overwrite.",
f7a027
   "  -o     - Overwrite without prompting.",
f7a027
   "  -q     - Quiet operation.",