bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Unrecognized options


From: Emmanuel Colbus
Subject: [Bug-tar] Unrecognized options
Date: Wed, 28 Mar 2012 23:56:54 +0200

Hello,

While fiddling with tar, I encountered the following bugs :

$ tar --portability -cvf my_dir.tar my_dir
tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
Try `tar --help' or `tar --usage' for more information
$ echo $?
64


And :

$ tar --old-archive -cvf my_dir.tar my_dir
tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
Try `tar --help' or `tar --usage' for more information
$ echo $?
64

$ tar --version
tar (GNU tar) 1.22
[...]

I guess tar correctly identifies --portability as an alias for
--old-archive, but has a problem handling this option. It's easily
worked around by specifying --format=v7, but I believe it's still
worth reporting.

Regards,

Emmanuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]