Fix typo for the flag `--ungzip'' which should have been `--gunzip''

as is documented in the man page.  Retain the older mistaken version
of the flag for backwards compatibility in case anybody is using it.
Add $FreeBSD$ tag as cvs requires it.

PR:		gnu/7800
This commit is contained in:
Archie Cobbs 2000-01-24 21:38:18 +00:00
parent fe08efdcfb
commit 2476d833fb

View File

@ -21,6 +21,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* A tar (tape archiver) program.
*
* Written by John Gilmore, ihnp4!hoptoad!gnu, starting 25 Aug 85.
*
* $FreeBSD$
*/
#include <stdio.h>
@ -172,7 +174,8 @@ struct option long_options[] =
{"bzip2", 0, 0, 'y'},
{"bunzip2", 0, 0, 'y'},
{"gzip", 0, 0, 'z'},
{"ungzip", 0, 0, 'z'},
{"gunzip", 0, 0, 'z'},
{"ungzip", 0, 0, 'z'}, /* for backwards compatibility with former typo */
{"use-compress-program", 1, 0, 18},