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 [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
