Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/tar/src allow --unbzip2 for backward compat



details:   https://anonhg.NetBSD.org/src/rev/db58dcad6079
branches:  trunk
changeset: 538002:db58dcad6079
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Oct 09 19:53:25 2002 +0000

description:
allow --unbzip2 for backward compat
-y is not allowed as -y is reserved by GNU tar camp, it seems.

diffstat:

 gnu/dist/tar/src/tar.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 20379b6d0af4 -r db58dcad6079 gnu/dist/tar/src/tar.c
--- a/gnu/dist/tar/src/tar.c    Wed Oct 09 19:42:02 2002 +0000
+++ b/gnu/dist/tar/src/tar.c    Wed Oct 09 19:53:25 2002 +0000
@@ -185,6 +185,7 @@
   {"block-size", required_argument, 0, OBSOLETE_BLOCKING_FACTOR},
   {"blocking-factor", required_argument, 0, 'b'},
   {"bzip2", no_argument, 0, 'j'},
+  {"unbzip2", no_argument, 0, 'j'},
   {"catenate", no_argument, 0, 'A'},
   {"checkpoint", no_argument, &checkpoint_option, 1},
   {"compare", no_argument, 0, 'd'},
@@ -386,7 +387,7 @@
               PATTERN                at list/extract time, a globbing PATTERN\n\
   -o, --old-archive, --portability   write a V7 format archive\n\
       --posix                        write a POSIX format archive\n\
-  -j, --bzip2                        filter the archive through bzip2\n\
+  -j, --bzip2, --unbzip2             filter the archive through bzip2\n\
   -z, --gzip, --ungzip               filter the archive through gzip\n\
   -Z, --compress, --uncompress       filter the archive through compress\n\
       --use-compress-program=PROG    filter through PROG (must accept -d)\n"),



Home | Main Index | Thread Index | Old Index