bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] option --portability not recognized


From: Eric Blake
Subject: Re: [Bug-tar] option --portability not recognized
Date: Fri, 14 May 2010 16:51:38 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4

On 05/14/2010 04:40 PM, Bruno Haible wrote:
> Hi,
> 
> With tar-1.23, "tar --help" says in particular:
> 
>       --old-archive, --portability
>                              same as --format=v7
> 
> But these options are not recognized:
> 
>   $ tar cf - -C /mnt --old-archive . > /dev/null 
>   tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
>   Try `tar --help' or `tar --usage' for more information.

The bug is in your usage pattern.  Again, the manual is explicit that
non-dashed short options behave differently than dashed short options.
You meant:

$ tar -cf - -C /mnt --old-archive . > /dev/null

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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