Blame SOURCES/unzip-6.0-manpageandusage.patch

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